PdfFieldActions Class

The JavaScript actions of a form field (/AA, ISO 32000-2, 12.6.3, table 199): the scripts a viewer runs when a value is typed, formatted, validated and calculated. The library reads them; Meziantou.Framework.Pdf.JavaScript runs them.

public sealed class PdfFieldActions

Properties

NameDescription
CalculateGets the script that calculates the value from other fields (/C), or null.
FormatGets the script that formats the value for display (/F), or null.
KeystrokeGets the script run when the user types or commits a value (/K), or null.
ValidateGets the script that validates a new value (/V), or null.

Gets the script that calculates the value from other fields (/C), or null.

public PdfJavaScriptAction? Calculate { get; }

Property value

PdfJavaScriptAction?

Gets the script that formats the value for display (/F), or null.

public PdfJavaScriptAction? Format { get; }

Property value

PdfJavaScriptAction?

Gets the script run when the user types or commits a value (/K), or null.

public PdfJavaScriptAction? Keystroke { get; }

Property value

PdfJavaScriptAction?

Gets the script that validates a new value (/V), or null.

public PdfJavaScriptAction? Validate { get; }

Property value

PdfJavaScriptAction?