[]
Represents a free text annotation that displays text directly on a page. Unlike an ordinary text annotation (see TextAnnotation), a free text annotation has no open or closed state. Instead of being displayed in a pop-up window, the text is always visible.
public class FreeTextAnnotation : MarkupAnnotation, IOwnedObject, IContentItem, IPdfDict
Public Class FreeTextAnnotation
Inherits MarkupAnnotation
Implements IOwnedObject, IContentItem, IPdfDict
Name | Description |
---|---|
FreeTextAnnotation() | Initializes a new instance of the FreeTextAnnotation class. |
Name | Description |
---|---|
CalloutLine | Gets or sets an array of 2 or 3 PointF structures specifying a callout line attached to the free text annotation. 3 points represent the starting coordinates, the knee point, and the ending coordinates of the line. 2 points represent the starting and ending coordinates of the line. The coordinates are in default user space relative to the upper left corner of the page's media box, with the Y (vertical) coordinates increasing from top to bottom. |
Color | Gets or sets the annotation color. |
DefaultAppearance | Gets the DefaultAppearance object that specifies the visual properties (font, font size etc.) used to format the content of the annotation. |
Justification | Gets or sets the justification to be used in displaying the annotation’s text. See PDF specification for details. |
LineDashPattern | Gets or sets the line dash pattern. Null means a solid line. |
LineEndStyle | Gets or sets the style of end callout line. |
LineWidth | Gets or sets the line width in points. |
Opacity | |
PdfCalloutLine | Gets or sets an array of 2 or 3 PointF structures specifying a callout line attached to the free text annotation. 3 points represent the starting coordinates, the knee point, and the ending coordinates of the line. 2 points represent the starting and ending coordinates of the line. The coordinates are specified in PDF user space. The positive X axis extends horizontally to the right, and the positive Y axis extends vertically upward, with the origin usually in the lower left corner of the page. |
StyleString | Gets or sets the default style string. See PDF specification for details. |
TextOffsets | Gets or sets the Offsets structure that defines the numerical differences between two rectangles: the Rect and an inner rectangle contained within that rectangle. The inner rectangle is where the FreeTextAnnotation’s text should be displayed. Note that if this rectangle is not specified then Rect is used as the text rectangle. |