Class PdfFormScript
- Namespace
- PDiffy
- Assembly
- PDiffy.dll
A script on a form field: when it runs, and a hash of its JavaScript, so any edit to it shows. The hash is null when the script's stream is damaged and can't be read.
public sealed record PdfFormScript : IEquatable<PdfFormScript>
- Inheritance
-
PdfFormScript
- Implements
- Inherited Members
Properties
Hash
The first 16 hex digits of a SHA-256 of the script's text, such as "9c1e5a07b3d24f68".
public required string? Hash { get; init; }
Property Value
Trigger
The event that runs the script, such as a value changing or the field getting focus.
public required PdfFormScriptTrigger Trigger { get; init; }