Namespace TallComponents.PDF.Annotations.Markups
Class FreeText
A free text annotation is a specialized markup and displays text directly on a page.
Syntax
public class FreeText
: Markup
Constructors
FreeText()
Create a new free text markup.
FreeText(Double,Double,Double,Double)
Create a new free text markup.
Properties
DeviceColor BorderColor
The border color.
Double[] CalloutLine
An array of 4 or 6 numbers specifying the callout line points in default user space.
Double CharacterSpace
The character spacing applied to the text, in unscaled text space units. Backed by the
Tc operator of the /DA entry.
String DefaultStyle
The default style string for the annotation's rich content, backed by the /DS entry.
String FontName
The font used for the text, specified as a resource font key (e.g. "Helv", "Cour") or
standard font name. Backed by the Tf operator of the /DA entry.
Double FontSize
The font size of the text.
String Intent
The intent of this free text annotation.
DeviceColor InteriorColor
The interior color of the FreeText markup.
Double Leading
The extra vertical spacing between lines of text, in unscaled text space units. Backed
by the TL operator of the /DA entry.
LineEndStyle LineEndingStyle
The line ending style for the callout line arrow.
Orientation Orientation
Orientation of the FreeText annotation in degrees. Default is Rotate0.
Int32 TextAlignment
The text justification. 0 = left-justified, 1 = centered, 2 = right-justified. Backed
by the /Q entry.
DeviceColor TextColor
The text color. If null, the text color is the same as the border color.
Double WordSpace
The word spacing applied to the text, in unscaled text space units. Backed by the
Tw operator of the /DA entry.