Click or drag to resize

PdfVariableTextAppearance Class

Represents an appearance settings for a variable text fields PdfTextField, PdfDropdownField and PdfListBoxField.
Inheritance Hierarchy
SystemObject
  SautinSoft.Pdf.AnnotationsPdfAppearance
    SautinSoft.Pdf.FormsPdfFieldAppearance
      SautinSoft.Pdf.FormsPdfVariableTextAppearance

Namespace: SautinSoft.Pdf.Forms
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.11.26
Syntax
public sealed class PdfVariableTextAppearance : PdfFieldAppearance

The PdfVariableTextAppearance type exposes the following members.

Properties
 NameDescription
Public propertyBackgroundColor Gets or sets the background color of the variable text field appearance.
Public propertyBorderColor Gets or sets the border color of the variable text field appearance.
Public propertyBorderDashPattern Gets or sets the border dash pattern of the variable text field appearance.
Public propertyBorderStyle Gets or sets the border style of the variable text field appearance.
Public propertyBorderWidth Gets or sets the border thickness of the variable text field appearance.
Public propertyFontColor Gets or sets the font color of the field's appearance text.
Public propertyFontFace Gets or sets the font face of the field's appearance text.
Public propertyFontSize

Gets or sets the font size of the field's appearance text.

A zero value for size means that the font shall be auto-sized: its size shall be computed as a function of the size of the annotation rectangle.

Public propertyLineHeight

Gets or sets the line height, or line spacing, between lines of the PdfTextField appearance text (if the MultiLine is ).

Default value: 0 (the default line height is automatically calculated, and is based on the FontFace and the FontSize).

Public propertyTextAlignment Gets or sets the text alignment of the field's appearance text.
Top
See Also