Package | Description |
---|---|
com.itextpdf.forms.fields |
Modifier and Type | Method and Description |
---|---|
static PdfButtonFormField |
PdfFormField.createButton(PdfDocument doc, int flags)
Creates an empty button form field with custom behavior and layout.
|
static PdfButtonFormField |
PdfFormField.createButton(PdfDocument doc, int flags, PdfAConformanceLevel pdfAConformanceLevel)
Creates an empty button form field with custom behavior and layout.
|
static PdfButtonFormField |
PdfFormField.createButton(PdfDocument doc, Rectangle rect, int flags)
Creates an empty button form field with custom behavior and layout, on a specified location.
|
static PdfButtonFormField |
PdfFormField.createButton(PdfDocument doc, Rectangle rect, int flags, PdfAConformanceLevel pdfAConformanceLevel)
Creates an empty button form field with custom behavior and layout, on a specified location.
|
static PdfButtonFormField |
PdfFormField.createCheckBox(PdfDocument doc, Rectangle rect, String name, String value)
Creates a PdfButtonFormField as a checkbox.
|
static PdfButtonFormField |
PdfFormField.createCheckBox(PdfDocument doc, Rectangle rect, String name, String value, int checkType)
Creates a PdfButtonFormField as a checkbox.
|
static PdfButtonFormField |
PdfFormField.createCheckBox(PdfDocument doc, Rectangle rect, String name, String value, int checkType, PdfAConformanceLevel pdfAConformanceLevel)
Creates a PdfButtonFormField as a checkbox.
|
static PdfButtonFormField |
PdfFormField.createPushButton(PdfDocument doc, Rectangle rect, String name, String caption)
Creates a PdfButtonFormField as a push button without data.
|
static PdfButtonFormField |
PdfFormField.createPushButton(PdfDocument doc, Rectangle rect, String name, String caption, PdfFont font, float fontSize)
Creates a PdfButtonFormField as a push button without data, with its caption in a custom font.
|
static PdfButtonFormField |
PdfFormField.createPushButton(PdfDocument doc, Rectangle rect, String name, String caption, PdfFont font, float fontSize, PdfAConformanceLevel pdfAConformanceLevel)
Creates a PdfButtonFormField as a push button without data, with its caption in a custom font.
|
static PdfButtonFormField |
PdfFormField.createRadioGroup(PdfDocument doc, String name, String value)
Creates a radio group form field .
|
static PdfButtonFormField |
PdfFormField.createRadioGroup(PdfDocument doc, String name, String value, PdfAConformanceLevel pdfAConformanceLevel)
Creates a radio group form field .
|
PdfButtonFormField |
PdfButtonFormField.setImage(String image) |
PdfButtonFormField |
PdfButtonFormField.setImageAsForm(PdfFormXObject form) |
PdfButtonFormField |
PdfButtonFormField.setPushButton(boolean pushButton)
If true, the field is a pushbutton that does not retain a permanent value.
|
PdfButtonFormField |
PdfButtonFormField.setRadio(boolean radio)
If true, the field is a set of radio buttons; if false, the field is a check box.
|
PdfButtonFormField |
PdfButtonFormField.setRadiosInUnison(boolean radiosInUnison)
If true, a group of radio buttons within a radio button field that use the same value for the on state will turn on and off in unison; that is if one is checked, they are all checked.
|
PdfButtonFormField |
PdfButtonFormField.setToggleOff(boolean toggleOff)
If true, clicking the selected button deselects it, leaving no button selected.
|
Modifier and Type | Method and Description |
---|---|
static PdfFormField |
PdfFormField.createRadioButton(PdfDocument doc, Rectangle rect, PdfButtonFormField radioGroup, String value)
Creates a generic PdfFormField that is added to a radio group.
|
static PdfFormField |
PdfFormField.createRadioButton(PdfDocument doc, Rectangle rect, PdfButtonFormField radioGroup, String value, PdfAConformanceLevel pdfAConformanceLevel)
Creates a generic PdfFormField that is added to a radio group.
|
Copyright © 1998–2022 iText Group NV. All rights reserved.