AnnotationData Methods |
The AnnotationData type exposes the following members.
Name | Description | |
---|---|---|
CalculateAnnotationBounds(AnnotationPen, AnnotationBrush, PointF) | This method will calculate the bounding rectangle without applying the annotation transforms. | |
CalculateAnnotationBounds(RectangleF, AnnotationPen, AnnotationBrush, PointF) | This method will calculate the bounding rectangle without applying the annotation transforms. | |
CalculateBounds(AnnotationPen, AnnotationBrush, PointF) | This method will calculate the bounding rectangle for the annotation, taking the pen width, shadow and
annotation transforms into account. | |
CalculateBounds(RectangleF, AnnotationPen, AnnotationBrush, PointF) | This method will add the annotation pen width, shadow and transforms to the provided rectangle bounds.
| |
Clone | Returns a copy of this annotation data. | |
CloneBaseData | Fills the data object with cloned property values. | |
CloneBaseDataFrom |
Clones the base data from.
| |
Dispose | Releases resources used by the annotation. | |
Dispose(Boolean) | Called to release resources used by the annotation. | |
Equals | Compares the current annotation with another. (Overrides ObjectEquals(Object).) | |
Finalize |
Finalizes an instance of the AnnotationData class.
(Overrides ObjectFinalize.) | |
GetAllExtraProperties | Returns a Dictionary containing the key value pairs for extra properties. | |
GetExtraProperty | Returns the value stored with SetExtraProperty(String, String). | |
GetHashCode | Returns an identifier for this object. (Overrides ObjectGetHashCode.) | |
GetLineCapBounds | Called to get the rectangle bounds of the line cap used in an AnnotationLineCap. | |
GetObjectData | Fills the SerializationInfo object with properties values for the base AnnotationData
class. | |
GetRenderTransform | Returns a System.Drawing.Drawing2D.Matrix containing the matrices applied to the
annotation. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Mirror | Flips (mirrors) the annotation horizontally or vertically. | |
OnAnnotationControllerNotification | Called after a property value has been changed. | |
OnCanMirrorChanged | Called when the CanMirror property value has changed. | |
OnCanMoveChanged | Called when the CanMove property value has changed. | |
OnCanResizeChanged | Called when the CanResize property has changed. | |
OnCanRotateChanged | Called when the CanRotate property value has changed. | |
OnCanSelectChanged | Called when the CanSelect property value has changed. | |
OnCreationTimeChanged | Called when the CreationTime property value has changed. | |
OnLocationChanged | Called when the Location property value has changed. | |
OnMirrored | Called when the annotation has been mirrored. | |
OnModifiedTimeChanged | Called when the ModifiedTime property has changed. | |
OnNameChanged | Called when the Name property has changed. | |
OnPropertyChanged | Called when a property has been changed and raises the PropertyChanged event.
| |
OnPropertyChanging | Called just before a property value is changed. | |
OnRotationChanged | Called when the Rotation property has changed. | |
OnSecurityChanged | Called when the Security property has changed. | |
OnSizeChanged | Called when the Size property has changed. | |
OnStateChanged | Called when the State property has changed and raises the StateChanged event. | |
OnTooltipChanged | Called when the ToolTip property has changed. | |
OnTransformChanged | Called when the Transform property has changed. | |
OnUserNameChanged | Called when the UserName property has changed and raises the UserNameChanged event. | |
OnVisibleChanged | Called when the Visible property has changed. | |
RemoveBrushEvents | This is a helper method to remove the PropertyChanging and AnnotationControllerNotification event handlers for an AnnotationBrush.
| |
RemoveFontEvents | This is a helper method to remove the PropertyChanging and AnnotationControllerNotification event handlers for an AnnotationFont.
| |
RemovePenEvents | This is a helper method to remove the PropertyChanging and AnnotationControllerNotification event handlers for an AnnotationPen.
| |
RemoveSecurityEvents | This is a helper method to remove the PropertyChanging and AnnotationControllerNotification event handlers for an IAnnotationLock.
| |
Rotate | Applies rotation to the annotation from its current rotation amount. | |
SetBrushEvents | This is a helper method used to set event handlers for the PropertyChanging
and AnnotationControllerNotification event handlers in an AnnotationBrush. | |
SetExtraProperty | Sets a custom value within an annotation that can be retrieved using GetExtraProperty(String). | |
SetFontEvents | This is a helper method used to set event handlers for the PropertyChanging
and AnnotationControllerNotification event handlers in an AnnotationFont.
| |
SetPenEvents | This is a helper method used to set event handlers for the PropertyChanging
and AnnotationControllerNotification event handlers in an AnnotationPen.
| |
SetSecurityEvents | This is a helper method used to set event handlers for the PropertyChanging
and AnnotationControllerNotification event handlers in an IAnnotationLock. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |