ButtonStyle

Applies to

PDFFormFieldCheckBox and PDFFormFieldRadioButton objects

Description

Gets or sets the button style of the PDFFormFieldCheckBox or PDFFormFieldRadioButton object.

Data type

PDFFormFieldButtonStyle. It is an enumerated datatype, which has the following values, indicating the symbol used in the button:

  • PDFFormFieldButtonStyle_Check!

  • PDFFormFieldButtonStyle_Cross!

  • PDFFormFieldButtonStyle_Diamond!

  • PDFFormFieldButtonStyle_Circle!

  • PDFFormFieldButtonStyle_Star!

  • PDFFormFieldButtonStyle_Square!

Usage

In scripts

This example shows how to set the button style of the PDFFormFieldCheckBox object as having a check mark in the button:

lpdf_checkbox.buttonstyle = PDFFormFieldButtonStyle_Check!