Pdfviewer - ButtonFieldSettingsModel

18 Nov 20261 minute to read

Interface for a class ButtonFieldSettings

Properties

actions ActionsSettingsModel

Gets or sets the action settings associated with the button field.

alignment TextAlignment

Gets or sets the text alignment of the button caption.

backgroundColor string

Gets or sets the background color of the button field.

borderColor string

Gets or sets the border color of the button field.

bounds IFormFieldBound

Gets or sets the bounds of the form field.

color string

Gets or sets the font color of the button field.

customData object

Gets or sets the custom data associated with the form field.

fontFamily string

Gets or sets the font family of the button field.

fontSize number

Gets or sets the font size of the button field.

fontStyle FontStyle

Gets or sets the font style of the button field.

isPrint boolean

Gets or sets the boolean value to print the button field. TRUE by default.

isReadOnly boolean

Specifies whether the button field is in read-only mode. FALSE by default.

isRequired boolean

If it is set as true, consider as mandatory field in the PDF document. By default it is false.

name string

Gets or sets the name of the form field.

pageNumber number

Gets or sets the page number in which the form field is placed.

text string

Gets or sets the display text of the button field.

thickness number

Gets or sets the border thickness of the button field.

tooltip string

Gets or sets the tooltip text of the button field. By default it is empty.

value string

Gets or sets the caption text of the button field.

visibility Visibility

Gets or sets the visibility of the form field.