Click or drag to resize

PdfFigureAnnotation Class

Represents square or circle annotation
Inheritance Hierarchy

Namespace: Patagames.Pdf.Net.Annotations
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public abstract class PdfFigureAnnotation : PdfMarkupAnnotation

The PdfFigureAnnotation type exposes the following members.

Constructors
 NameDescription
Public methodPdfFigureAnnotation(PdfPage) Creates a new PdfFigureAnnotation.
Public methodPdfFigureAnnotation(PdfPage, PdfTypeBase) Initializes a new instance of the PdfFigureAnnotation class based on the specified dictionary.
Top
Properties
 NameDescription
Public propertyBorderEffect Gets or sets a PdfBorderEffect describing an effect applied to the border described by the BorderStyle property.
Public propertyBorderStyle Gets or sets a border style (see PdfBorderStyle) specifying the line width and dash pattern to be used in drawing the rectangle or ellipse.
Public propertyInnerRectangle Gets or sets an inner rectangle of the annotation.
Public propertyInteriorColor Gets or sets the interior color with which to fill the annotation’s rectangle or ellipse.
Top
Methods
 NameDescription
Public methodRegenerateAppearances Re-creates the appearance of the annotation based on its properties
(Overrides PdfMarkupAnnotationRegenerateAppearances)
Top
Remarks
Square and circle annotations (PDF 1.3) display, respectively, a rectangle or an ellipse on the page. When opened, they display a pop-up window containing the text of the associated note. The rectangle or ellipse is inscribed within the annotation rectangle defined by the Rectangle property. Figure 8.8 shows two annotations, each with a border width of 18 points.
Note  Note
Despite the names square and circle, the width and height of the annotation rectangle need not be equal.

FIGURE 8.8 Square and circle annotations

See Also