Click or drag to resize

CalloutAnnotation Methods

The CalloutAnnotation type exposes the following members.

Methods
  NameDescription
Protected methodCode exampleAddGripsToRegion
Adds the annotation grips to a region. The grips are added in annotation space.
(Inherited from AnnotationUI.)
Protected methodCode exampleApplyRegionTransform
Use this method to convert a region from annotation space to document or view space.
(Inherited from AnnotationUI.)
Public methodBeginCreate (Overrides AnnotationUIBeginCreate.)
Public methodClone
Creates a copy of this annotation.
(Overrides AnnotationUIClone.)
Protected methodCreateRenderTransform
Returns the Matrix used by the renderer to transform the annotation.
(Inherited from AnnotationUI.)
Public methodDispose
Releases resources used by the annotation.
Protected methodDispose(Boolean)
Releases resources used by the annotation.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Finalizes an instance of the CalloutAnnotation class.
(Overrides ObjectFinalize.)
Public methodGetConfinedGripPosition
Gets the confined grip position.
(Inherited from AnnotationUI.)
Public methodGetConfinedLocation(RectangleF, PointF)
Returns the new confined location of the annotation when a confinement bounds and new location offset are provided.
(Overrides AnnotationUIGetConfinedLocation(RectangleF, PointF).)
Protected methodGetConfinedLocation(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.

(Inherited from AnnotationUI.)
Public methodGetConfinedRotation
Gets the confined rotation.
(Inherited from AnnotationUI.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectData
Fills a SerializationInfo object with information about this annotation.
(Inherited from AnnotationUI.)
Protected methodGetOnePixel
Returns the equivalent of 1 pixel in resolution units.
(Inherited from AnnotationUI.)
Public methodGetRegion (Overrides AnnotationUIGetRegion(AnnotateSpace).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodGetViewerParameters
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.)
Protected methodCode exampleHideEditDialog
Removes the edit control from the viewer.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMirror
Mirrors (flips) the annotation horizontally or vertically.
(Inherited from AnnotationUI.)
Protected methodOnAnnotationControllerNotification
Called after a property of the annotation or related AnnotationData has been modified.
(Inherited from AnnotationUI.)
Protected methodOnClick
Called when the user has clicked on the annotation.
(Inherited from AnnotationUI.)
Protected methodOnControllerChanged
Called when the Controller property has changed.
(Inherited from AnnotationUI.)
Protected methodOnDoubleClick (Overrides AnnotationUIOnDoubleClick(EventArgs).)
Protected methodOnGripPositionChanged (Overrides AnnotationUIOnGripPositionChanged(AnnotationGripChangedEventArgs).)
Protected methodOnMirror
Called when the grips of an annotation have been dragged past the opposite grip.
(Inherited from AnnotationUI.)
Protected methodOnMouseDown (Overrides AnnotationUIOnMouseDown(AnnotationMouseEventArgs).)
Protected methodOnMouseEnter
Called when the mouse is moved into the annotation region.
(Inherited from AnnotationUI.)
Protected methodOnMouseExit
Called when the mouse is moved out of the annotation region.
(Inherited from AnnotationUI.)
Protected methodOnMouseMove (Overrides AnnotationUIOnMouseMove(AnnotationMouseEventArgs).)
Protected methodOnMouseUp (Overrides AnnotationUIOnMouseUp(AnnotationMouseEventArgs).)
Protected methodOnMoved
Called when a move to a new location has completed.
(Inherited from AnnotationUI.)
Protected methodOnMoving (Overrides AnnotationUIOnMoving(AnnotationLocationChangedEventArgs).)
Protected methodOnPropertyChanged
Called when a property value has changed and raises the PropertyChanged event.
(Inherited from AnnotationUI.)
Protected methodOnPropertyChanging (Overrides AnnotationUIOnPropertyChanging(AnnotationPropertyChangingEventArgs).)
Protected methodOnResized
Called when a resize on the annotation has completed.
(Inherited from AnnotationUI.)
Protected methodOnResizing (Overrides AnnotationUIOnResizing(EventArgs).)
Protected methodOnRotate
Called when the Rotate(Single) method is called on the annotation.
(Inherited from AnnotationUI.)
Protected methodOnRotated
Called when the annotation has been rotated by the user.
(Inherited from AnnotationUI.)
Protected methodOnRotateDocument
Called when the RotateDocument(DocumentRotation, Int32) method is used.
(Overrides AnnotationUIOnRotateDocument(DocumentRotation).)
Protected methodOnRotating
Called while an annotation is being rotated by the user.
(Overrides AnnotationUIOnRotating(EventArgs).)
Protected methodOnScrollPositionChanged (Overrides AnnotationUIOnScrollPositionChanged(ScrollPositionChangedEventArgs).)
Protected methodOnSelectedChanged (Overrides AnnotationUIOnSelectedChanged(EventArgs).)
Protected methodOnSizeChanged
Called when the Size property of the annotation has changed.
(Inherited from AnnotationUI.)
Public methodRaiseClickEvent
Use this method to force a Click event on the annotation.
(Inherited from AnnotationUI.)
Public methodRaiseDoubleClickEvent
Use this method to force a DoubleClick event on the annotation.
(Inherited from AnnotationUI.)
Public methodRaiseGripPositionChangedEvent
Use this method to force a GripPositionChanged event on the annotation.
(Inherited from AnnotationUI.)
Public methodRaiseMouseDownEvent
Use this method to force a MouseDown event on the annotation.
(Inherited from AnnotationUI.)
Public methodRaiseMouseEnterEvent
Use to force the MouseEnter event for the annotation.
(Inherited from AnnotationUI.)
Public methodRaiseMouseExitEvent
Use to force a MouseExit event on the annotation.
(Inherited from AnnotationUI.)
Public methodRaiseMouseMoveEvent
Use this method to force a MouseMove event on the annotation.
(Inherited from AnnotationUI.)
Public methodRaiseMouseUpEvent
Use this method to force a MouseUp event on the annotation.
(Inherited from AnnotationUI.)
Public methodRaiseMovedEvent
Use this method to force a Moved event on the annotation.
(Inherited from AnnotationUI.)
Public methodRaiseMovingEvent
Use this method to force a Moving event on the annotation.
(Inherited from AnnotationUI.)
Public methodRaiseOnRotateDocument
Use this method to force the OnRotateDocument(DocumentRotation) method to be called.
(Inherited from AnnotationUI.)
Public methodRaiseResizedEvent
Use this method to force a Resized event on the annotation.
(Inherited from AnnotationUI.)
Public methodRaiseRotatedEvent
This method invokes the Rotated event.
(Inherited from AnnotationUI.)
Public methodRaiseScrollPositionChangedEvent
Use this method to force the OnScrollPositionChanged(ScrollPositionChangedEventArgs) method to be called.
(Inherited from AnnotationUI.)
Public methodRemove
Forces the annotation to remove itself from its parent layer.
(Inherited from AnnotationUI.)
Public methodRotate
Rotates the annotation by the specified number of degrees.
(Inherited from AnnotationUI.)
Protected methodSetGrips
Sets the grips used by the annotation.
(Inherited from AnnotationUI.)
Protected methodShowEditDialog
Adds an edit control to the viewer to allow the user to change the text.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodTransformRectangle
Applies the render transformation matrix to a rectangle.
(Inherited from AnnotationUI.)
Top
See Also