Optionalactivate?: ActionBase | ActionPropertiesAn action to be performed when the annotation is activated.
OptionalannotationPageClosed?: ActionBase | ActionPropertiesAn action to be performed when the page containing the annotation is closed (for example, when the user navigates to the next or previous page, or follows a link annotation or outline item).
OptionalannotationPageHide?: ActionBase | ActionPropertiesAn action to be performed when the page containing the annotation is no longer visible in the viewer application's user interface.
OptionalannotationPageOpened?: ActionBase | ActionPropertiesAn action to be performed when the page containing the annotation is opened (for example, when the user navigates to it from the next or previous page or by means of a link annotation or outline item).
OptionalannotationPageShow?: ActionBase | ActionPropertiesAn action to be performed when the page containing the annotation becomes visible in the viewer application's user interface.
OptionalbackColor?: ColorThe annotation's background color.
Optionalborder?: BorderPropertiesThe BorderProperties object defining annotation's border.
OptionalbuttonAppearance?: ButtonAppearancePropertiesThe ButtonAppearanceProperties object that specifies the look of the widget if it is linked with a push button field.
OptionalcheckStyle?: CheckStyleThe style of check mark that is used if a WidgetAnnotation is linked with a CheckBoxField or a RadioButtonField.
Note that this property works over the 'buttonAppearance.Caption' property, for example if 'checkStyle' is "Cross", then 'buttonAppearance.caption' will be "8".
If the value of this property is null, it indicates that ButtonAppearance.Caption contains an unknown value.
OptionaldefaultAppearance?: DefaultAppearanceProperties | stringThe apperance that specifies the visual properties (font, font size etc.) used to format the content of the annotation. The apperance can be specified as DefaultAppearanceProperties with set of properties like font, fontSize, foreColor or as a string as it will be stored in a PDF stream: "/DF0 10 Tf 0 0 0 rg".
Optionalenter?: ActionBase | ActionPropertiesAn action to be performed when the annotation receives the input focus.
Optionalhighlighting?: HighlightingModeThe annotation's highlighting mode.
Optionaljustification?: VariableTextJustificationThe justification to be used in displaying the annotation's text. Note that if this property is not specified (the value is null) then Field#justification is used. See PDF specification for details.
Optionalleave?: ActionBase | ActionPropertiesAn action to be performed when the annotation loses the input focus.
OptionalmouseDown?: ActionBase | ActionPropertiesAn action to be performed when the mouse button is pressed inside the field's active area.
OptionalmouseEnter?: ActionBase | ActionPropertiesAn action to be performed when the mouse enters the field's active area.
OptionalmouseLeave?: ActionBase | ActionPropertiesAn action to be performed when the cursor exits the field's active area.
OptionalmouseUp?: ActionBase | ActionPropertiesAn action to be performed when the mouse button is released inside the field's active area.
Optionalname?: stringThe name of the annotation. If WidgetAnnotation is used with RadioButtonField then 'name' is used as a value.
OptionalrotationAngle?: numberThe angle, in degrees, by which the widget annotation is rotated counterclockwise relative to the page. The value must be a multiple of 90.
Defines properties of a WidgetAnnotation.