FormFieldFacade
Overview
FormFieldFacade is a class in Aspose.PDF FOSS for .NET.
Represents the visual appearance attributes of a form field.
This class provides 1 method for working with FormFieldFacade objects in .NET programs.
Available methods include: Reset.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: AlignBottom, AlignCenter, AlignJustified, AlignLeft, AlignMiddle, AlignRight, and 39 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Caption | string? | Read/Write | The caption (alternate name / tooltip / TU entry) of the field. |
Font | FontStyle | Read/Write | Font family used by the field. |
CustomFont | string? | Read/Write | Optional override for the font name, used when Font does not name a known family. |
FontSize | float | Read/Write | The font size of the field. |
BorderWidth | float | Read/Write | Border width in points. |
BorderStyle | int | Read/Write | Border style. |
BorderColor | System.Drawing.Color | Read/Write | Border color. |
BackgroundColor | System.Drawing.Color | Read/Write | Background color. |
BackgroudColor | System.Drawing.Color | Read/Write | Background color. |
TextColor | System.Drawing.Color | Read/Write | Text color. |
Box | System.Drawing.Rectangle | Read/Write | The field’s position rectangle, in PDF integer points. |
PageNumber | int | Read/Write | The page number where the field appears (1-based). |
Alignment | int | Read/Write | The field alignment. |
Rotation | int | Read/Write | Rotation in degrees (0, 90, 180, 270). |
ButtonStyle | int | Read/Write | Button visual style — combination of CheckBoxStyleCheck etc. |
Items | string[]? | Read/Write | List of items for choice fields (combobox / listbox). |
ExportItems | string[][]? | Read/Write | Export-value pairs for items, paired with Items. |
Position | float[]? | Read/Write | Field position as a 4-element array [llx, lly, urx, ury] in points. |
TextEncoding | EncodingType | Read/Write | Text encoding used by the field’s font. |
AlignUndefined | int | Read | Gets the align undefined. |
AlignLeft | int | Read | Gets the align left. |
AlignCenter | int | Read | Gets the align center. |
AlignRight | int | Read | Gets the align right. |
AlignTop | int | Read | Gets the align top. |
AlignMiddle | int | Read | Gets the align middle. |
AlignBottom | int | Read | Gets the align bottom. |
AlignJustified | int | Read | Gets the align justified. |
BorderStyleUndefined | int | Read | Gets the border style undefined. |
BorderStyleSolid | int | Read | Gets the border style solid. |
BorderStyleDashed | int | Read | Gets the border style dashed. |
BorderStyleBeveled | int | Read | Gets the border style beveled. |
BorderStyleInset | int | Read | Gets the border style inset. |
BorderStyleUnderline | int | Read | Gets the border style underline. |
BorderWidthUndefined | float | Read | Gets the border width undefined. |
BorderWidthUndified | float | Read | Alias for BorderWidthUndefined. |
BorderWidthThin | float | Read | Gets the border width thin. |
BorderWidthMedium | float | Read | Gets the border width medium. |
BorderWidthThick | float | Read | Gets the border width thick. |
CheckBoxStyleUndefined | int | Read | Gets the check box style undefined. |
CheckBoxStyleCheck | int | Read | Gets the check box style check. |
CheckBoxStyleCircle | int | Read | Gets the check box style circle. |
CheckBoxStyleCross | int | Read | Gets the check box style cross. |
CheckBoxStyleDiamond | int | Read | Gets the check box style diamond. |
CheckBoxStyleSquare | int | Read | Gets the check box style square. |
CheckBoxStyleStar | int | Read | Gets the check box style star. |
Methods
| Signature | Description |
|---|---|
Reset() | Reset every property to its default value. |