LayerAnnotation Methods |
The LayerAnnotation type exposes the following members.
| Name | Description | |
|---|---|---|
| AddGripsToRegion |
Adds the annotation grips to a region. The grips are added in annotation space.
(Inherited from AnnotationUI.) | |
| ApplyRegionTransform |
Use this method to convert a region from annotation space to document or view
space.
(Inherited from AnnotationUI.) | |
| BeginCreate | This method is called by the AnnotationController when the user is beginning to create this
annotation using the mouse. (Inherited from AnnotationUI.) | |
| Clone |
Creates a copy of this annotation.
(Overrides AnnotationUIClone.) | |
| CreateAnnotationUIObjects | Use this method to force the LayerAnnotation to create AnnotationUI objects
for its AnnotationData objects after deserialization or after using the constructor taking a LayerData. | |
| CreateRenderTransform | Returns the Matrix used by the renderer to transform the annotation. (Inherited from AnnotationUI.) | |
| Dispose | Disposes this layer and all items it contains. | |
| Dispose(Boolean) | Releases resources used by the layer and its contained annotations. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize |
Finalizes an instance of the LayerAnnotation class.
(Overrides ObjectFinalize.) | |
| GetConfinedGripPosition |
Gets the confined grip position.
(Inherited from AnnotationUI.) | |
| GetConfinedLocation(RectangleF, PointF) | Returns the new confined location of the annotation when a confinement bounds and new location offset are
provided. (Inherited from AnnotationUI.) | |
| GetConfinedLocation(RectangleF, RectangleF, PointF) | Returns the new confined location of the annotation when the annotation bounds, a confinement bounds and new location offset are provided. This overload is useful when only a portion of the annotation bounds should be taken into account for this calculation. | |
| GetConfinedRotation |
Gets the confined rotation.
(Inherited from AnnotationUI.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetObjectData | Fills a SerializationInfo object with information about this layer. (Overrides AnnotationUIGetObjectData(SerializationInfo, StreamingContext).) | |
| GetOnePixel | Returns the equivalent of 1 pixel in resolution units. (Inherited from AnnotationUI.) | |
| GetRegion | Gets the combined region for all annotations contained in this layer. (Overrides AnnotationUIGetRegion(AnnotateSpace).) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetViewerParameters | This method is used to get information about the viewer where the annotations are rendered, including
resolution, zoom (scale) level and scrollbar position. (Inherited from AnnotationUI.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Mirror | Mirrors (flips) the annotation horizontally or vertically. (Inherited from AnnotationUI.) | |
| OnAnnotationControllerNotification | (Overrides AnnotationUIOnAnnotationControllerNotification(AnnotationControllerNotificationEventArgs).) | |
| OnChildAnnotationPropertyChanged | Called when a property of a child annotation has changed. | |
| OnClick | Called when the user has clicked on the annotation. (Inherited from AnnotationUI.) | |
| OnControllerChanged | (Overrides AnnotationUIOnControllerChanged(EventArgs).) | |
| OnDeserialization | Called when a formatter is finished deserializing the LayerAnnotation. | |
| OnDoubleClick | Called when the annotation is double-clicked. (Inherited from AnnotationUI.) | |
| OnGripPositionChanged | Called when a grip of the annotation has been moved by the user using the mouse. (Inherited from AnnotationUI.) | |
| OnMirror | Called when the grips of an annotation have been dragged past the opposite grip. (Inherited from AnnotationUI.) | |
| OnMouseDown | Called when the user clicks down on the annotation. (Inherited from AnnotationUI.) | |
| OnMouseEnter | Called when the mouse is moved into the annotation region. (Inherited from AnnotationUI.) | |
| OnMouseExit | Called when the mouse is moved out of the annotation region. (Inherited from AnnotationUI.) | |
| OnMouseMove | Called when the user has moved the mouse over the annotation. (Inherited from AnnotationUI.) | |
| OnMouseUp | Called when the user has released the mouse over the annotation. (Inherited from AnnotationUI.) | |
| OnMoved | Called when a move to a new location has completed. (Inherited from AnnotationUI.) | |
| OnMoving | (Overrides AnnotationUIOnMoving(AnnotationLocationChangedEventArgs).) | |
| OnPropertyChanged | Called when a property value has changed and raises the PropertyChanged event.
(Inherited from AnnotationUI.) | |
| OnPropertyChanging | (Overrides AnnotationUIOnPropertyChanging(AnnotationPropertyChangingEventArgs).) | |
| OnResized | Called when a resize on the annotation has completed. (Inherited from AnnotationUI.) | |
| OnResizing | (Overrides AnnotationUIOnResizing(EventArgs).) | |
| OnRotate | Called when the Rotate(Single) method is called on the annotation. (Inherited from AnnotationUI.) | |
| OnRotated | Called when the annotation has been rotated by the user. (Inherited from AnnotationUI.) | |
| OnRotateDocument | Called when the RotateDocument(DocumentRotation, Int32) method is used. (Inherited from AnnotationUI.) | |
| OnRotating | Called while an annotation is being rotated by the user. (Inherited from AnnotationUI.) | |
| OnScrollPositionChanged | Called when the IAnnotate. Transform indicates a change in its
offset (scroll position). (Inherited from AnnotationUI.) | |
| OnSelectedChanged | Called when the Selected property of the annotation has changed. (Inherited from AnnotationUI.) | |
| OnSizeChanged | Called when the Size property of the annotation has changed. (Inherited from AnnotationUI.) | |
| RaiseClickEvent | Use this method to force a Click event on the annotation. (Inherited from AnnotationUI.) | |
| RaiseDoubleClickEvent | Use this method to force a DoubleClick event on the annotation. (Inherited from AnnotationUI.) | |
| RaiseGripPositionChangedEvent | Use this method to force a GripPositionChanged event on the annotation.
(Inherited from AnnotationUI.) | |
| RaiseMouseDownEvent | Use this method to force a MouseDown event on the annotation. (Inherited from AnnotationUI.) | |
| RaiseMouseEnterEvent | Use to force the MouseEnter event for the annotation. (Inherited from AnnotationUI.) | |
| RaiseMouseExitEvent | Use to force a MouseExit event on the annotation. (Inherited from AnnotationUI.) | |
| RaiseMouseMoveEvent | Use this method to force a MouseMove event on the annotation. (Inherited from AnnotationUI.) | |
| RaiseMouseUpEvent | Use this method to force a MouseUp event on the annotation. (Inherited from AnnotationUI.) | |
| RaiseMovedEvent | Use this method to force a Moved event on the annotation. (Inherited from AnnotationUI.) | |
| RaiseMovingEvent | Use this method to force a Moving event on the annotation. (Inherited from AnnotationUI.) | |
| RaiseOnRotateDocument | Use this method to force the OnRotateDocument(DocumentRotation) method to be called. (Inherited from AnnotationUI.) | |
| RaiseResizedEvent | Use this method to force a Resized event on the annotation. (Inherited from AnnotationUI.) | |
| RaiseRotatedEvent | This method invokes the Rotated event. (Inherited from AnnotationUI.) | |
| RaiseScrollPositionChangedEvent | Use this method to force the OnScrollPositionChanged(ScrollPositionChangedEventArgs) method to be called.
(Inherited from AnnotationUI.) | |
| Remove | Forces the annotation to remove itself from its parent layer. (Inherited from AnnotationUI.) | |
| Rotate | Rotates the annotation by the specified number of degrees. (Inherited from AnnotationUI.) | |
| SetGrips | Sets the grips used by the annotation. (Inherited from AnnotationUI.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| TransformRectangle | Applies the render transformation matrix to a rectangle. (Inherited from AnnotationUI.) |