Click or drag to resize

AnnotationDataRequestedEventArgs Class

Passed to the AnnotationDataRequested event handler so the default file system based annotation data retrieval can be overridden. Setting the Layers property will stop handler from loading the annotation data from the file.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    Atalasoft.Imaging.WebControlsAnnotationDataRequestedEventArgs

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 AnnotationDataRequestedEventArgs : EventArgs

The AnnotationDataRequestedEventArgs type exposes the following members.

Constructors
  NameDescription
Public methodAnnotationDataRequestedEventArgs(String, Int32, Int32)
Creates a new AnnotationDataRequestedEventArgs for use with the AnnotationDataRequested event.
Public methodAnnotationDataRequestedEventArgs(String, String, Int32, Int32)
Creates a new AnnotationDataRequestedEventArgs for use with the AnnotationDataRequested event.
Top
Properties
  NameDescription
Public propertyDocumentPath
Gets the document path.
Public propertyFilePath
The relative file path that was requested by the client. This can be used in conjunction with the Layers property to use non filesystem based methods of loading annotation data.
Public propertyLayers
Gets or sets the root layerdata array of annotation data for this request. Returns null by default. If this property is left null, the handler will attempt to load the layer data from the file path represented in the FilePath property. Setting this property will override the default automatic loading by file path.
Public propertyLength
The number of layers that were requested by the client. Returns -1 if all layers were requested.
Public propertyOffset
The starting layer index requested.
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