Widget Annotation
Represents the appearance of a field in interactive forms. For form elements with text, the text color comes from the color property of Annotation. Use getFormElement to access associated FormElement.
See also
Constructors
Properties
Link copied to clipboard
The font size value used by setFontSize and getFontSize to represent automatic font sizing of text form elements.
Functions
Link copied to clipboard
Returns the action that should be executed on annotation trigger event.
Link copied to clipboard
Returns a map of additional actions keyed by their trigger events.
Link copied to clipboard
Returns the border color of this annotation or
Color#TRANSPARENT
if no color is set.Link copied to clipboard
Returns the font size of this widget annotation in PDF points.
Link copied to clipboard
Returns a form element for widget annotation.
Link copied to clipboard
Returns a form element for widget annotation, asynchronously.
Link copied to clipboard
Gets the annotation type of the annotation.
Link copied to clipboard
Returns the vertical text alignment used by this widget annotation.
Link copied to clipboard
open fun setAdditionalAction(@NonNull triggerEvent: AnnotationTriggerEvent, @Nullable action: Action)
Sets the action that should be executed for the given annotation trigger event.
Link copied to clipboard
Sets the border color for this annotation.
Link copied to clipboard
Sets the font size for this widget annotation in PDF points.
Link copied to clipboard
Sets the vertical text alignment to use in this widget annotation.