PDFView4NET WinForms Edition


FormatAction Property
Gets or sets the JavaScript action to be executed for formating the field value.
Syntax
'Declaration
 
Public Property FormatAction As PDFJavaScriptAction
'Usage
 
Dim instance As PDFField
Dim value As PDFJavaScriptAction
 
instance.FormatAction = value
 
value = instance.FormatAction
public PDFJavaScriptAction FormatAction {get; set;}

Property Value

A O2S.Components.PDFView4NET.Actions.PDFJavaScriptAction object specifying the action to be executed for formating the field value.
Remarks
This property specifies a JavaScript action to be performed before the field is formatted to display its current value. This action can modify the field’s value before formatting.
This action has no meaning for PDFPushButtonField, PDFCheckBoxField, PDFRadioButtonListField and PDFListBoxField fields.
Requirements

Target Platforms: Windows 7, Windows 10, Windows 11, Windows Server 2022, Windows Server 2025

See Also