Click or drag to resize

ImageRequestedEventArgs Class

Passed to the ImageRequested event handler so the default file system based document retrieval can be overridden. Setting the Image property will stop handler from loading the image from the file.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    Atalasoft.Imaging.WebControlsImageRequestedEventArgs

Namespace:  Atalasoft.Imaging.WebControls
Assembly:  Atalasoft.dotImage.WebControls (in Atalasoft.dotImage.WebControls.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public class ImageRequestedEventArgs : EventArgs

The ImageRequestedEventArgs type exposes the following members.

Constructors
  NameDescription
Public methodImageRequestedEventArgs
Creates a new ImageRequestedEventArgs for use with the ImageRequested event.
Top
Properties
  NameDescription
Public propertyAutoScale
Indicates whether the provided image should be scaled by the handler before sending it to the client
Public propertyFilePath
The requested file path of the document.
Public propertyFrameIndex
The requested frame index of the document.
Public propertyImage
The AtalaImage to be sent back to the client. This property will be null before the image is loaded from the document. Setting this property will stop the handler from loading the image from the file.
Public propertyJpeg
Indicates whether this image request should be output in jpeg format
Public propertyParams
Stores additional image request parameters passed by client side code.
Public propertyZoom
Indicates what zoom level this image was requested at.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also