Click or drag to resize

AnnotationUICollection Class

This class holds a collection of annotation objects. LayerAnnotations use this collection to hold the AnnotationUI objects they contain.
Inheritance Hierarchy
SystemObject
  System.CollectionsCollectionBase
    Atalasoft.Annotate.UIAnnotationUICollection

Namespace:  Atalasoft.Annotate.UI
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.3.0.0.0.668 (.NET 4.5.2, x86)
Syntax
[SerializableAttribute]
public class AnnotationUICollection : CollectionBase, 
	ISerializable, IDisposable, IDeserializationCallback

The AnnotationUICollection type exposes the following members.

Constructors
  NameDescription
Public methodAnnotationUICollection
Creates a new instance of AnnotationUICollection.
Public methodAnnotationUICollection(Boolean)
Creates a new instance of AnnotationUICollection used for storage.
Public methodAnnotationUICollection(AnnotationUI)
Creates a new instance of AnnotationUICollection specifying an array of AnnotationUI objects.
Public methodAnnotationUICollection(SerializationInfo, StreamingContext)
Creates a new instance of AnnotationUICollection 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 the AnnotationUI 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 a single annotation to the collection.
Public methodAddRange(AnnotationUI)
Adds an array of annotations to the collection.
Public methodAddRange(AnnotationUICollection)
Adds annotations from another AnnotationUICollection to this collection.
Public methodClear
Removes all objects from the CollectionBase instance. This method cannot be overridden.
(Inherited from CollectionBase.)
Public methodClone
Creates a copy of this collection and all items it contains.
Public methodContains
Determines if an annotation is contained within the collection.
Public methodCopyTo(AnnotationUI)
Copies all of the items from this collection into an array.
Public methodCopyTo(AnnotationUI, Int32)
Copies items into the specifed array.
Public methodCopyTo(Int32, AnnotationUI, Int32, Int32)
Copies annotations from this collection into an array.
Public methodDispose
Disposes this collection and all items it contains.
Protected methodDispose(Boolean)
Releases resources used by this object.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Finalizes an instance of the AnnotationUICollection class.
(Overrides ObjectFinalize.)
Public methodGetEnumerator
Returns an enumerator that iterates through the CollectionBase instance.
(Inherited from CollectionBase.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectData
Fills a SerializationInfo object with information about this collection.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Returns the index of a specified annotation.
Public methodInsert
Inserts an annotation into the collection at the specified position.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnClear
Called when the Clear method is used.
(Overrides CollectionBaseOnClear.)
Protected methodOnClearComplete
Called when the clear operation has finished.
(Overrides CollectionBaseOnClearComplete.)
Protected methodOnCollectionChanged
Called when there is a change to 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 insert operation has finished.
(Overrides CollectionBaseOnInsertComplete(Int32, Object).)
Protected methodOnRemove
Called when an annotation is removed from the collection.
(Overrides CollectionBaseOnRemove(Int32, Object).)
Protected methodOnRemoveComplete
Called when a remove operation has finished.
(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 an item has been swapped with another.
(Overrides CollectionBaseOnSetComplete(Int32, Object, Object).)
Protected methodOnValidate
Performs additional custom processes when validating a value.
(Inherited from CollectionBase.)
Public methodRemove(AnnotationUI)
Removes an annotation from the collection.
Public methodRemove(AnnotationUI)
Removes multiple annotations 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 there has been a change to an item in this collection.
Public eventCollectionChanged
Raised when there has been a change in the collection.
Public eventPropertyChanging
Raise before a change is applied to an item in this collection.
Top
See Also