PDFVisualLinkAnnotation¶
Namespace: O2S.Components.PDF4NET.View.Annotations
Defines a link annotation that is displayed in a control.
Inheritance Object → PDFVisualAnnotation → PDFVisualLinkAnnotation
Constructors¶
PDFVisualLinkAnnotation(PDFLinkAnnotation)¶
Initializes a new PDFVisualLinkAnnotation object.
Parameters
annotation PDFLinkAnnotation
The underlying PDF annotation.
Properties¶
Action¶
Gets or sets the link action.
Property Value
PDFAction
An action to be performed when the link annotation is activated.
Remarks
PDFVisualLinkAnnotation.Destination and PDFVisualLinkAnnotation.Action are mutually exclusive, when one is set, the other is reset.
Annotation¶
Gets the underlying PDF annotation.
Property Value
PDFAnnotation
A PDF annotation.
Border¶
Gets or sets the annotation border.
Property Value
PDFAnnotationBorder
A object specifying the style of the annotation border.
Destination¶
Gets or sets the link destination.
Property Value
PDFDestination
A destination that specifies what page
should be displayed when the link is clicked.
Remarks
PDFVisualLinkAnnotation.Destination and PDFVisualLinkAnnotation.Action are mutually exclusive, when one is set, the other is reset.
DisplayRectangle¶
Gets or sets the visual rectangle of this annotation.
Property Value
PDFDisplayRectangle
A that represents the position and size of the annotation on the page.
Remarks
The visual rectangle is relative to the top left corner of the page.
HighlightStyle¶
Gets or sets the link highlighting style.
Property Value
PDFLinkAnnotationHighlightMode
A that specifies how the link is highlighted when it is activated.
NormalAppearance¶
Gets or sets the annotation normal appearance.
Property Value
PDFAnnotationAppearance
A specifying how the annotation is presented visually on the page.
Tag¶
Gets or sets an object that contains user-defined data associated with the annotation.
Property Value
Remarks
This property can be used to store any custom information relevant to the annotation at
runtime. The value is not used by the annotation itself and is intended solely for application-specific
data.
NOTE: The value of this property is not persisted in the PDF file.
VisualPage¶
Gets the page that owns the anotation.
Property Value
PDFVisualPage
The PDFVisualPage that owns the annotation.