Click or drag to resize

TextArea Class

A text to be added to the header or footer of the rendered PDF document. The PdfConverter.PdfHeaderOptions.TextArea property should be set with an object of this type.
Inheritance Hierarchy
SystemObject
  ExpertPdf.HtmlToPdfPdfElement
    ExpertPdf.HtmlToPdfTextArea

Namespace: ExpertPdf.HtmlToPdf
Assembly: ephtmltopdf (in ephtmltopdf.dll) Version: 21.1.0
Syntax
public class TextArea : PdfElement

The TextArea type exposes the following members.

Constructors
 NameDescription
Public methodTextArea(Single, Single, String, Font) Constructs a text element that will be rendered at the specified (x,y) position using the specified width and font. The height of the rendered text will be auto-determined. The width is the available width in page.
Public methodTextArea(Single, Single, Single, String, Font) Constructs a text element that will be rendered at the specified (x,y) position using the specified width and font. The height of the rendered text will be auto-determined.
Public methodTextArea(Single, Single, Single, Single, String, Font) Constructs a text element that will be rendered in the specified rectangle using the specified font.
Public methodTextArea(Single, Single, Single, String, Font, Color) Constructs a text element that will be rendered at the specified (x,y) position using the specified width, font and color. The height of the rendered text will be auto-determined.
Public methodTextArea(Single, Single, Single, Single, String, Font, Color) Constructs a text element that will be rendered in the specified rectangle using the specified font and color.
Top
Properties
 NameDescription
Public propertyBackColor Gets or sets element background color.
Public propertyCharacterSpacing Gets or sets an additional spacing between characters.
Public propertyEmbedTextFont A flag indicating if the text area font will be embedded in the PDF document
Public propertyForeColor Gets or sets the element foreground color.
Public propertyHeight The height of the destination rectangle Is optional
Public propertyLineSpacing Gets or sets value that indicates the vertical distance between the baselines of adjacent lines of text.
Public propertyRightToLeftLanguage Set this property true if the text is in a RTL language.
Public propertyText The string to be written
Public propertyTextAlign Gets or sets the text alignment.
Public propertyTextAngle Gets or sets an angle to control text counter-clockwise direction. The default value is 0.
Public propertyTextFont The text font
Public propertyTextRise Gets or sets the distance to move the text baseline up or down from its default location. Adjustments to the baseline are useful for drawing superscripts or subscripts. Positive values of text rise move the baseline up and creates a superscript text. Negative values of text rise move the baseline down and creates a subscript text.
Public propertyTransparency Gets or sets element transparency. The transparency is expressed as a value between 0 and 100. 0 means completely transparent and 100 completely opaque.
Public propertyVerticalTextAlign Gets or sets the vertical text alignment.
Public propertyWidth The width of destination rectangle
Public propertyWordSpacing Gets or sets an aditional spacing between words. The words separator is consider the space character with code 32
Public propertyX The start x position
Public propertyY The start y position
Top
See Also