| Package | Description |
|---|---|
| com.itextpdf.forms.fields | |
| com.itextpdf.forms.util |
| Modifier and Type | Method and Description |
|---|---|
PdfFormAnnotation |
PdfFormFactory.createFormAnnotation(PdfDictionary dictionary)
Creates a form field annotation as a wrapper object around a
PdfDictionary. |
static PdfFormAnnotation |
PdfFormCreator.createFormAnnotation(PdfDictionary dictionary)
Creates a form field annotation as a wrapper object around a
PdfDictionary using provided factory. |
PdfFormAnnotation |
PdfFormFactory.createFormAnnotation(PdfWidgetAnnotation widget,
PdfDocument document)
Creates a form field annotation as a wrapper of a
PdfWidgetAnnotation. |
static PdfFormAnnotation |
PdfFormCreator.createFormAnnotation(PdfWidgetAnnotation widget,
PdfDocument document)
Creates a form field annotation as a wrapper of a
PdfWidgetAnnotation using provided factory. |
PdfFormAnnotation |
RadioFormFieldBuilder.createRadioButton(String appearanceName,
Rectangle rectangle)
Creates radio button form field instance based on provided parameters.
|
PdfFormAnnotation |
PdfFormField.getFirstFormAnnotation()
Gets a single child form field's annotation
PdfFormAnnotation. |
static PdfFormAnnotation |
PdfFormAnnotation.makeFormAnnotation(PdfObject pdfObject,
PdfDocument document)
Creates a
PdfFormAnnotation object. |
PdfFormAnnotation |
PdfFormAnnotation.setAction(PdfAction action)
Sets the action on
widget of this annotation form field. |
PdfFormAnnotation |
PdfFormAnnotation.setAppearance(PdfName appearanceType,
String appearanceState,
PdfStream appearanceStream)
Sets an appearance for (the widgets related to) the form field.
|
PdfFormAnnotation |
PdfFormAnnotation.setBackgroundColor(Color backgroundColor)
Basic setter for the
backgroundColor property. |
PdfFormAnnotation |
PdfFormAnnotation.setBorderColor(Color color)
Sets the Border Color.
|
PdfFormAnnotation |
PdfFormAnnotation.setBorderStyle(PdfDictionary style)
Sets the border style for the field.
|
PdfFormAnnotation |
PdfFormAnnotation.setBorderWidth(float borderWidth)
Sets the border width for the field.
|
PdfFormAnnotation |
PdfFormAnnotation.setCaption(String caption)
Basic setter for the push button caption.
|
PdfFormAnnotation |
PdfFormAnnotation.setCaption(String caption,
boolean regenerateField)
Basic setter for the push button caption.
|
PdfFormAnnotation |
PdfFormAnnotation.setCheckBoxAppearanceOnStateName(String onStateName)
Sets on state name for the checkbox annotation normal appearance and regenerates widget.
|
PdfFormAnnotation |
PdfFormAnnotation.setFormFieldElement(IFormField element)
This method sets the model element associated with the current annotation and can be useful to take into account
when drawing those properties that the annotation does not have.
|
PdfFormAnnotation |
PdfFormAnnotation.setPage(int pageNum)
Specifies on which page the form field's widget must be shown.
|
PdfFormAnnotation |
PdfFormAnnotation.setRotation(int degRotation)
Basic setter for the
degRotation property. |
PdfFormAnnotation |
PdfFormAnnotation.setVisibility(int visibility)
Set the visibility flags of the form field annotation.
|
| Modifier and Type | Method and Description |
|---|---|
List<PdfFormAnnotation> |
PdfFormField.getChildFormAnnotations()
Gets all child form field's annotations
PdfFormAnnotation of this form field. |
| Modifier and Type | Method and Description |
|---|---|
static void |
BorderStyleUtil.applyBorderProperty(IPropertyContainer container,
PdfFormAnnotation annotation)
Applies the border property to the annotation.
|
Copyright © 1998–2024 Apryse Group NV. All rights reserved.