Class: TextBoxWidget
Experimental
A text box widget annotation
Extends
Constructors
new TextBoxWidget()
new TextBoxWidget(
options):TextBoxWidget
Experimental
Parameters
• options: WidgetAnnotationOptions
Options used to initialize annotation.
Returns
Inherited from
Properties
action
action:
Action
Experimental
The action that is performed when the widget annotation is clicked on
Inherited from
Accessors
__annotation
get__annotation():Annotation
Experimental
set__annotation(v):void
Experimental
Parameters
• v: Annotation
Returns
Annotation
Inherited from
boundingBox
getboundingBox():Rectangle<PdfPoint>
Experimental
Represents the bounding box of the annotation, which defines its position and size on the page.
The bounding box is specified as a Rectangle of PdfPoint coordinates.
setboundingBox(rectangle):void
Experimental
Parameters
• rectangle: Rectangle<PdfPoint>
Returns
Rectangle<PdfPoint>
Inherited from
content
getcontent():string
Experimental
Text that shall be displayed for the annotation or, if this type of annotation does not display text, an alternative description of the annotation’s contents in human-readable form.
setcontent(content):void
Experimental
Parameters
• content: string
Returns
string
Inherited from
dateModified
getdateModified():Date
Experimental
The date and time when the annotation was most recently modified.
setdateModified(date):void
Experimental
Parameters
• date: Date
Returns
Date
Inherited from
hasChanges
gethasChanges():boolean
Experimental
Indicates if the annotation has been changed since the document was opened
Returns
boolean
Inherited from
hidden
gethidden():boolean
Experimental
If set to true, the annotation will not be displayed or printed, and it will not allow interaction with the user.
sethidden(hidden):void
Experimental
Parameters
• hidden: boolean
Returns
boolean
Inherited from
id
getid():void
Experimental
A unique identifier for the annotation.
Returns
void
Inherited from
interactive
getinteractive():boolean
Experimental
Specifies whether the annotation allows user interaction.
setinteractive(interactive):void
Experimental
Parameters
• interactive: boolean
Returns
boolean
Inherited from
isAdded
getisAdded():boolean
Experimental
Indicates whether the annotation was added to a page
Returns
boolean
Inherited from
isMaintainingAspectRatio
getisMaintainingAspectRatio():boolean
Experimental
Indicates if the annotation is maintaining its aspect ratio
Returns
boolean
Inherited from
WidgetAnnotation.isMaintainingAspectRatio