Click or drag to resize

WebAnnotationController Class

The WebAnnotationController mimics specific behaviors of the AnnotationController for use from with ASP.NET. It contains a LayerCollection for any number of LayerAnnotation objects, each containing any number of annotations.
Inheritance Hierarchy
SystemObject
  Atalasoft.Imaging.WebControls.AnnotationsWebAnnotationController

Namespace:  Atalasoft.Imaging.WebControls.Annotations
Assembly:  Atalasoft.dotImage.WebControls (in Atalasoft.dotImage.WebControls.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public class WebAnnotationController : IComponent, 
	IDisposable

The WebAnnotationController type exposes the following members.

Constructors
  NameDescription
Public methodWebAnnotationController
Creates a new instance of WebAnnotationController.
Top
Properties
  NameDescription
Public propertyAuthorMode
Gets or sets a value which determines how many annotations are created by the mouse after CreateAnnotation is called. AuthorMode. Single will change InteractMode back to the original value or closest non Author value, after annotation creation.
Public propertyCurrentLayer
Gets or sets the current active layer.
Public propertyDefaultAnnotations
Gets or sets the default annotations.
Public propertyFactories
Gets the AnnotationUIFactoryCollection containing IAnnotationUIFactory objects used to create annotations from AnnotationData classes.
Public propertyInteractMode
Gets or sets a value specifying the user interactive mode of the AnnotationController.
Public propertyLastUniqueIndex
Gets the last unique index of the annotations loaded into this WebAnnotationController.
Public propertyLayers
Gets or sets the LayerCollection used by the WebAnnotationController.
Public propertySelectedAnnotations
Gets an array of annotations currently selected.
Public propertySite
Gets or sets the site of the control.
Top
Methods
  NameDescription
Protected methodCreateAnnotationImage(AnnotationUI)
Creates an image for an annotation.
Protected methodCreateAnnotationImage(AnnotationData, IAnnotationRenderer)
Creates an image for an annotation using a specified renderer.
Public methodDispose
Releases memory used by the AnnotationController and all of its annotations.
Protected methodDispose(Boolean)
Releases memory used by the AnnotationController and all of its annotations.
Protected methodDisposeManagedResources
Releases managed memory used by the AnnotationController and all of its annotations.
Protected methodDisposeUnmanagedResources
Releases unmanaged memory used by the AnnotationController and all of its annotations.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Public methodGetAnnotation(Int32, Int32, Int32)
Public methodGetAnnotation(Int32, Int32, Int32, String)
Gets the AnnotationUI object at the given layerIndex, groupIndex, and annIndex.
Public methodGetGroup
Gets the n'th group in the annotation tree on the Layer at the given layerIndex.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoad(Stream, AnnotationDataFormat)
Loads annotation data from a stream using the supplied formatter into the Layers collection.
Public methodLoad(String, AnnotationDataFormat)
Loads annotation data from a file using the supplied formatter and adds the annotations to the Layers collection.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRenderAnnotation(Int32, Int32, Int32, Double)
Gets an AtalaImage that represents the AnnotationUI object at the given layerIndex, groupIndex, and annIndex at the given zoom level.
Public methodRenderAnnotation(Int32, Int32, Int32, String, Double)
Gets an AtalaImage that represents the AnnotationUI object at the given layerIndex, groupIndex, ID and annIndex at the given zoom level.
Public methodSave(IFormatter)
Saves the annotations to a byte array using the specified formatter.
Public methodSave(Stream, AnnotationDataFormat)
Saves the annotations to a stream using the specified formatter.
Public methodSave(Stream, IFormatter)
Saves the annotations to a stream using the specified formatter.
Public methodSave(String, AnnotationDataFormat)
Saves the annotations to a file using the specified formatter.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventDisposed
Raised when the WebAnnotationController has been disposed.
Top
See Also