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 PdfFieldActionsProperties
| Name | Description |
|---|---|
| Calculate | Gets the script that calculates the value from other fields (/C), or null. |
| Format | Gets the script that formats the value for display (/F), or null. |
| Keystroke | Gets the script run when the user types or commits a value (/K), or null. |
| Validate | Gets the script that validates a new value (/V), or null. |
Calculate
PdfFieldActions.csGets the script that calculates the value from other fields (/C), or null.
public PdfJavaScriptAction? Calculate { get; }Property value
Format
PdfFieldActions.csGets the script that formats the value for display (/F), or null.
public PdfJavaScriptAction? Format { get; }Property value
Keystroke
PdfFieldActions.csGets the script run when the user types or commits a value (/K), or null.
public PdfJavaScriptAction? Keystroke { get; }Property value
Validate
PdfFieldActions.csGets the script that validates a new value (/V), or null.
public PdfJavaScriptAction? Validate { get; }