Click or drag to resize

AnnotationData Methods

The AnnotationData type exposes the following members.

Methods
  NameDescription
Protected methodCalculateAnnotationBounds(AnnotationPen, AnnotationBrush, PointF)
This method will calculate the bounding rectangle without applying the annotation transforms.
Protected methodCalculateAnnotationBounds(RectangleF, AnnotationPen, AnnotationBrush, PointF)
This method will calculate the bounding rectangle without applying the annotation transforms.
Protected methodCalculateBounds(AnnotationPen, AnnotationBrush, PointF)
This method will calculate the bounding rectangle for the annotation, taking the pen width, shadow and annotation transforms into account.
Protected methodCalculateBounds(RectangleF, AnnotationPen, AnnotationBrush, PointF)
This method will add the annotation pen width, shadow and transforms to the provided rectangle bounds.
Public methodCode exampleClone
Returns a copy of this annotation data.
Protected methodCode exampleCloneBaseData
Fills the data object with cloned property values.
Protected methodCloneBaseDataFrom
Clones the base data from.
Public methodDispose
Releases resources used by the annotation.
Protected methodDispose(Boolean)
Called to release resources used by the annotation.
Public methodEquals
Compares the current annotation with another.
(Overrides ObjectEquals(Object).)
Protected methodFinalize
Finalizes an instance of the AnnotationData class.
(Overrides ObjectFinalize.)
Public methodGetAllExtraProperties
Returns a Dictionary containing the key value pairs for extra properties.
Public methodGetExtraProperty
Returns the value stored with SetExtraProperty(String, String).
Public methodGetHashCode
Returns an identifier for this object.
(Overrides ObjectGetHashCode.)
Protected methodGetLineCapBounds
Called to get the rectangle bounds of the line cap used in an AnnotationLineCap.
Public methodCode exampleGetObjectData
Fills the SerializationInfo object with properties values for the base AnnotationData class.
Public methodGetRenderTransform
Returns a System.Drawing.Drawing2D.Matrix containing the matrices applied to the annotation.
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 methodMirror
Flips (mirrors) the annotation horizontally or vertically.
Protected methodOnAnnotationControllerNotification
Called after a property value has been changed.
Protected methodOnCanMirrorChanged
Called when the CanMirror property value has changed.
Protected methodOnCanMoveChanged
Called when the CanMove property value has changed.
Protected methodOnCanResizeChanged
Called when the CanResize property has changed.
Protected methodOnCanRotateChanged
Called when the CanRotate property value has changed.
Protected methodOnCanSelectChanged
Called when the CanSelect property value has changed.
Protected methodOnCreationTimeChanged
Called when the CreationTime property value has changed.
Protected methodOnLocationChanged
Called when the Location property value has changed.
Protected methodOnMirrored
Called when the annotation has been mirrored.
Protected methodOnModifiedTimeChanged
Called when the ModifiedTime property has changed.
Protected methodOnNameChanged
Called when the Name property has changed.
Protected methodOnPropertyChanged
Called when a property has been changed and raises the PropertyChanged event.
Protected methodOnPropertyChanging
Called just before a property value is changed.
Protected methodOnRotationChanged
Called when the Rotation property has changed.
Protected methodOnSecurityChanged
Called when the Security property has changed.
Protected methodOnSizeChanged
Called when the Size property has changed.
Protected methodOnStateChanged
Called when the State property has changed and raises the StateChanged event.
Protected methodOnTooltipChanged
Called when the ToolTip property has changed.
Protected methodOnTransformChanged
Called when the Transform property has changed.
Protected methodOnUserNameChanged
Called when the UserName property has changed and raises the UserNameChanged event.
Protected methodOnVisibleChanged
Called when the Visible property has changed.
Protected methodRemoveBrushEvents
This is a helper method to remove the PropertyChanging and AnnotationControllerNotification event handlers for an AnnotationBrush.
Protected methodRemoveFontEvents
This is a helper method to remove the PropertyChanging and AnnotationControllerNotification event handlers for an AnnotationFont.
Protected methodRemovePenEvents
This is a helper method to remove the PropertyChanging and AnnotationControllerNotification event handlers for an AnnotationPen.
Protected methodRemoveSecurityEvents
This is a helper method to remove the PropertyChanging and AnnotationControllerNotification event handlers for an IAnnotationLock.
Public methodRotate
Applies rotation to the annotation from its current rotation amount.
Protected methodSetBrushEvents
This is a helper method used to set event handlers for the PropertyChanging and AnnotationControllerNotification event handlers in an AnnotationBrush.
Public methodSetExtraProperty
Sets a custom value within an annotation that can be retrieved using GetExtraProperty(String).
Protected methodSetFontEvents
This is a helper method used to set event handlers for the PropertyChanging and AnnotationControllerNotification event handlers in an AnnotationFont.
Protected methodSetPenEvents
This is a helper method used to set event handlers for the PropertyChanging and AnnotationControllerNotification event handlers in an AnnotationPen.
Protected methodSetSecurityEvents
This is a helper method used to set event handlers for the PropertyChanging and AnnotationControllerNotification event handlers in an IAnnotationLock.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also