







![]() ![]() ![]() |
PDFTron SilverDox SDK |
Annotation Members |
Annotation Class Constructors Methods Fields Properties Events See Also Send Feedback |
The Annotation type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | Annotation()()()() |
Called by subclasses during construction to set properties common to all annotations.
|
![]() | Annotation(AnnotationManager) | Initializes a new instance of the Annotation class |
Methods
Name | Description | |
---|---|---|
![]() | CreateAppearanceCanvas |
Creates and returns the annotation's appearance canvas that will be displayed on screen.
|
![]() | CreatePopupCanvas |
Creates canvas used as the popup when an annotation is double clicked on. Override this method to provide a customized popup canvas.
|
![]() | OnAnnotationResizeEnded |
Called by the annotation's AnnotationManager when the user has finished resizing the annotation
|
![]() | OnAnnotationResizeStarted |
Called by the annotation's AnnotationManager when the user has began resizing this annotation
|
![]() | OnCreateMouseDown |
Called by the annotation's AnnotationManager when a MouseDown event is received and the AnnotationManager
is set to create this type of annotation.
|
![]() | OnCreateMouseMove |
Called by the annotation's AnnotationManager when a MouseMove event is received and the AnnotationManager
is set to create this type of annotation.
|
![]() | OnCreateMouseUp |
Called by the annotation's AnnotationManager when a MouseUp event is received and the AnnotationManager
is set to create this type of annotation.
|
Fields
Name | Description | |
---|---|---|
![]() | shouldBeCreated |
Determines whether or not the annotation should be created in OnCreateMouseUp
This is used for TextMarkups that do not select any text to prevent it from
being created when the user releases the mouse
|
Properties
Name | Description | |
---|---|---|
![]() | AnnotationManager |
Gets or sets the annotation's AnnotationManager.
|
![]() | Author |
Represents the author of the annotation. Default is an empty string.
|
![]() | Bottom |
Gets the y-axis value of the bottom of the annotation.
|
![]() | DateModified |
Gets or sets the last date and time that the annotation was modified.
|
![]() | Height |
Gets or sets the annotation's height.
|
![]() | Id |
A unique identifier that can be assigned to determine different annotations
|
![]() | IsCopyable |
Indicates whether or not the user should be able to copy this annotation
|
![]() | IsCreated |
Gets or sets if the annotation has finished being created by the user.
|
![]() | IsSelectable |
Indicates whether or not the user can select this annotation
Default is true
|
![]() | Left |
Gets the x-axis value of the left side of the annotation.
|
![]() | MirroredHorizontally |
True if the annotation has been mirrored horizontally.
|
![]() | MirroredVertically |
True if the annotation has been mirrored vertically.
|
![]() | NoMove |
Gets or sets if this annotation can be moved by the user.
|
![]() | NoResize |
Gets or sets if this annotation can be resized by the user.
|
![]() | NoZoom |
Gets or sets if this annotation scales with the page.
|
![]() | PageNumber |
Gets or sets the page number of a document that the annotation appears on.
|
![]() | PopupContents |
Gets or sets the contents of the annotation's popup.
|
![]() | PopupHeight |
Gets or sets the annotation's popup's height.
|
![]() | PopupIsVisible |
Gets or sets if the annotation's popup is visible.
|
![]() | PopupWidth |
Gets or sets the annotation's popup's width.
|
![]() | PopupX |
Gets or sets the annotation's popup's x-axis position.
|
![]() | PopupY |
Gets or sets the annotation's popup's y-axis position.
|
![]() | Right |
Gets the x-axis value of the right side of the annotation.
|
![]() | Subject |
Represents the subject of the annotation. Default is the annotation's type.
|
![]() | Top |
Gets the y-axis position of the top of the annotation.
|
![]() | Width |
Gets or sets the annotation's width;
|
![]() | X |
Gets or sets the annotation's x-axis position.
|
![]() | Y |
Gets or sets the annotation's y-axis position.
|
Events
Name | Description | |
---|---|---|
![]() | PropertyChanged |
Occurs when a property changes in the annotation
|