Click or drag to resize

AnnotationDataCollection Class

This class can be used to hold a collection of AnnotationData objects.
This class can be used to hold a collection of AnnotationData objects.
Inheritance Hierarchy
SystemObject
  System.CollectionsCollectionBase
    Atalasoft.AnnotateAnnotationDataCollection

Namespace:  Atalasoft.Annotate
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
[SerializableAttribute]
public class AnnotationDataCollection : CollectionBase, 
	ISerializable, ICloneable, IDeserializationCallback

The AnnotationDataCollection type exposes the following members.

Constructors
  NameDescription
Public methodAnnotationDataCollection
Creates a new instance of AnnotationDataCollection.
Public methodAnnotationDataCollection(SerializationInfo, StreamingContext)
Creates a new instance of AnnotationDataCollection from serialized information.
Top
Properties
  NameDescription
Public propertyCapacity
Gets or sets the number of elements that the CollectionBase can contain.
(Inherited from CollectionBase.)
Public propertyCount
Gets the number of elements contained in the CollectionBase instance. This property cannot be overridden.
(Inherited from CollectionBase.)
Protected propertyInnerList
Gets an ArrayList containing the list of elements in the CollectionBase instance.
(Inherited from CollectionBase.)
Public propertyItem
Gets an AnnotationData object form the collection at the specified index.
Protected propertyList
Gets an IList containing the list of elements in the CollectionBase instance.
(Inherited from CollectionBase.)
Top
Methods
  NameDescription
Public methodAdd
Adds an AnnotationData object to the collection.
Public methodAddRange
Adds an array of AnnotationData objects to the collection.
Public methodClear
Removes all objects from the CollectionBase instance. This method cannot be overridden.
(Inherited from CollectionBase.)
Public methodClone
Create a copy of the AnnotationDataCollection.
Public methodContains
Determines whether the AnnotationDataCollection contains the specified element
Public methodCopyTo
Copies items into the specified array.
Public methodEquals
Compares one collection to another to see if they are equal.
(Overrides ObjectEquals(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 methodGetEnumerator
Returns an enumerator that iterates through the CollectionBase instance.
(Inherited from CollectionBase.)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetObjectData
Fills a SerializationInfo object with serialized data for this collection.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Returns the index of an item in the collection.
Public methodInsert
Inserts an AnnotationData object into the collection at a specified index.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnClear
Called when the Clear method has been invoked.
(Overrides CollectionBaseOnClear.)
Protected methodOnClearComplete
Called when the collection is cleared.
(Overrides CollectionBaseOnClearComplete.)
Protected methodOnCollectionChanged
Called when there is a change in the collection.
Public methodOnDeserialization
Called after an object has been fully deserialized by a serialization formatter.
Protected methodOnInsert
Performs additional custom processes before inserting a new element into the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnInsertComplete
Called when an add or insert has completed.
(Overrides CollectionBaseOnInsertComplete(Int32, Object).)
Protected methodOnRemove
Performs additional custom processes when removing an element from the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnRemoveComplete
Called when a remove has completed.
(Overrides CollectionBaseOnRemoveComplete(Int32, Object).)
Protected methodOnSet
Performs additional custom processes before setting a value in the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnSetComplete
Called when a set has completed.
(Overrides CollectionBaseOnSetComplete(Int32, Object, Object).)
Protected methodOnValidate
Performs additional custom processes when validating a value.
(Inherited from CollectionBase.)
Public methodRemove
Removes an AnnotationData object from the collection.
Public methodRemoveAt
Removes the element at the specified index of the CollectionBase instance. This method is not overridable.
(Inherited from CollectionBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventAnnotationControllerNotification
Raised when the annotation sends a notification to the AnnotationController.
Public eventCollectionChanged
Raised when the collection has changed.
Public eventPropertyChanging
Raised before a property is changed.
Top
Remarks
The LayerData object uses this class to hold the AnnotationData for the layer. In most cases there is no need to create an instance of this class.
Remarks
The LayerData object makes use of this class to hold the AnnotationData for the layer. In most cases there is no need to create an instance of this class.
See Also