Click or drag to resize

PdfFreeTextAnnotation Class

Represents a free text annotation
Inheritance Hierarchy

Namespace: Patagames.Pdf.Net.Annotations
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.89.2704
Syntax
public class PdfFreeTextAnnotation : PdfMarkupAnnotation

The PdfFreeTextAnnotation type exposes the following members.

Constructors
 NameDescription
Public methodPdfFreeTextAnnotation(PdfPage) Creates a new PdfFreeTextAnnotation.
Public methodPdfFreeTextAnnotation(PdfPage, PdfTypeBase) Initializes a new instance of the PdfFreeTextAnnotation class based on the specified dictionary.
Public methodPdfFreeTextAnnotation(PdfPage, PdfTextObject, Single, Single, Single, Single) Create a new PdfFreeTextAnnotation with PdfTextObject and parameters as specified.
Top
Properties
 NameDescription
Public propertyBorderEffect Gets or sets a border effect (PdfBorderEffect) used in conjunction with the BorderStyle.
Public propertyBorderStyle Gets or sets a border style (see PdfBorderStyle) specifying the line width and dash pattern to be used in drawing the annotation’s border.
Public propertyCalloutLine Gets or sets a collection of the FS_POINTF that represent callout line attached to the free text annotation.
Public propertyDefaultAppearance Gets or sets the default appearance string to be used in formatting the text.
Public propertyDefaultStyle Gets or sets a default style string.
Public propertyInnerRectangle Gets or sets a four numbers describing the inner rectangle of the annotation.
Public propertyIntent Gets or sets a name describing the intent of the free text annotation.
Public propertyLineEnding Gets or sets a list of line ending styles to be used in drawing the CalloutLine.
Public propertyTextAlignment Gets or sets the horizontal alignment of text content.
Top
Methods
 NameDescription
Public methodRegenerateAppearances Re-creates the appearance of the annotation based on its properties
(Overrides PdfMarkupAnnotationRegenerateAppearances)
Top
Remarks
A free text annotation (PDF 1.3) displays text directly on the page. Unlike an ordinary text annotation (see PdfTextAnnotation), a free text annotation has no open or closed state; instead of being displayed in a pop-up window, the text is always visible.
See Also