Uses of Class
com.itextpdf.forms.fields.PdfFormAnnotation
-
Uses of PdfFormAnnotation in com.itextpdf.forms.fields
Modifier and TypeMethodDescriptionRadioFormFieldBuilder.createRadioButton
(String appearanceName, Rectangle rectangle) Creates radio button form field instance based on provided parameters.PdfFormField.getFirstFormAnnotation()
Gets a single child form field's annotationPdfFormAnnotation
.static PdfFormAnnotation
PdfFormAnnotation.makeFormAnnotation
(PdfObject pdfObject, PdfDocument document) Creates aPdfFormAnnotation
object.Sets the action onwidget
of this annotation form field.PdfFormAnnotation.setAppearance
(PdfName appearanceType, String appearanceState, PdfStream appearanceStream) Sets an appearance for (the widgets related to) the form field.PdfFormAnnotation.setBackgroundColor
(Color backgroundColor) Basic setter for thebackgroundColor
property.PdfFormAnnotation.setBorderColor
(Color color) Sets the Border Color.PdfFormAnnotation.setBorderStyle
(PdfDictionary style) Sets the border style for the field.PdfFormAnnotation.setBorderWidth
(float borderWidth) Sets the border width for the field.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.setPage
(int pageNum) Specifies on which page the form field's widget must be shown.PdfFormAnnotation.setRotation
(int degRotation) Basic setter for thedegRotation
property.PdfFormAnnotation.setVisibility
(int visibility) Set the visibility flags of the form field annotation.Modifier and TypeMethodDescriptionPdfFormField.getChildFormAnnotations()
Gets all child form field's annotationsPdfFormAnnotation
of this form field.