PDFVisualTextMarkupAnnotation¶
Namespace: O2S.Components.PDF4NET.View.Annotations
Defines a text markup annotation that is displayed in a PDFDocumentView control.
Inheritance Object → PDFVisualAnnotation → PDFVisualTextMarkupAnnotation
Constructors¶
PDFVisualTextMarkupAnnotation(PDFTextMarkupAnnotation)¶
Initializes a new PDFVisualTextMarkupAnnotation object.
Parameters
annotation PDFTextMarkupAnnotation
The underlying PDF annotation.
Properties¶
Annotation¶
Gets the underlying PDF annotation.
Property Value
PDFAnnotation
A PDF annotation.
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.
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.
TextMarkupColor¶
Gets or sets the annotation markup color.
Property Value
PDFColor
The annotation markup color.
Exceptions
ArgumentOutOfRangeException
Thrown when the property is set to a color other than Gray, RGB or CMYK.
VisualPage¶
Gets the page that owns the anotation.
Property Value
PDFVisualPage
The PDFVisualPage that owns the annotation.