FormFieldFacade

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

NameTypeAccessDescription
Captionstring?Read/WriteThe caption (alternate name / tooltip / TU entry) of the field.
FontFontStyleRead/WriteFont family used by the field.
CustomFontstring?Read/WriteOptional override for the font name, used when Font does not name a known family.
FontSizefloatRead/WriteThe font size of the field.
BorderWidthfloatRead/WriteBorder width in points.
BorderStyleintRead/WriteBorder style.
BorderColorSystem.Drawing.ColorRead/WriteBorder color.
BackgroundColorSystem.Drawing.ColorRead/WriteBackground color.
BackgroudColorSystem.Drawing.ColorRead/WriteBackground color.
TextColorSystem.Drawing.ColorRead/WriteText color.
BoxSystem.Drawing.RectangleRead/WriteThe field’s position rectangle, in PDF integer points.
PageNumberintRead/WriteThe page number where the field appears (1-based).
AlignmentintRead/WriteThe field alignment.
RotationintRead/WriteRotation in degrees (0, 90, 180, 270).
ButtonStyleintRead/WriteButton visual style — combination of CheckBoxStyleCheck etc.
Itemsstring[]?Read/WriteList of items for choice fields (combobox / listbox).
ExportItemsstring[][]?Read/WriteExport-value pairs for items, paired with Items.
Positionfloat[]?Read/WriteField position as a 4-element array [llx, lly, urx, ury] in points.
TextEncodingEncodingTypeRead/WriteText encoding used by the field’s font.
AlignUndefinedintReadGets the align undefined.
AlignLeftintReadGets the align left.
AlignCenterintReadGets the align center.
AlignRightintReadGets the align right.
AlignTopintReadGets the align top.
AlignMiddleintReadGets the align middle.
AlignBottomintReadGets the align bottom.
AlignJustifiedintReadGets the align justified.
BorderStyleUndefinedintReadGets the border style undefined.
BorderStyleSolidintReadGets the border style solid.
BorderStyleDashedintReadGets the border style dashed.
BorderStyleBeveledintReadGets the border style beveled.
BorderStyleInsetintReadGets the border style inset.
BorderStyleUnderlineintReadGets the border style underline.
BorderWidthUndefinedfloatReadGets the border width undefined.
BorderWidthUndifiedfloatReadAlias for BorderWidthUndefined.
BorderWidthThinfloatReadGets the border width thin.
BorderWidthMediumfloatReadGets the border width medium.
BorderWidthThickfloatReadGets the border width thick.
CheckBoxStyleUndefinedintReadGets the check box style undefined.
CheckBoxStyleCheckintReadGets the check box style check.
CheckBoxStyleCircleintReadGets the check box style circle.
CheckBoxStyleCrossintReadGets the check box style cross.
CheckBoxStyleDiamondintReadGets the check box style diamond.
CheckBoxStyleSquareintReadGets the check box style square.
CheckBoxStyleStarintReadGets the check box style star.

Methods

SignatureDescription
Reset()Reset every property to its default value.

See Also