Applies to
PDFFormFieldPushButton objects
Description
Gets or sets the button layout of the object, which is the position of the caption relative to the icon in the button.
Data type
PDFFormFieldButtonLayout. It is an enumerated datatype, which has the following values, indicating the position of the caption relative to the icon in the button:
-
PDFFormFieldButtonLayout_Right!, meaning that the caption is to the right of the icon.
-
PDFFormFieldButtonLayout_Left!, meaning that the caption is to the left of the icon.
-
PDFFormFieldButtonLayout_Below!, meaning that the caption is below the icon.
-
PDFFormFieldButtonLayout_Above!, meaning that the caption is above the icon.
Usage
In scripts
This example shows how to set the button layout of the PDFFormFieldPushButton object as having the caption on the left:
lpdf_pushbutton.buttonlayout = PDFFormFieldButtonLayout_Left!