PdfFormScriptDiagnostic Class

Something a script did that the host should know: an error, a limit exceeded, a blocked call, an alert.

public sealed class PdfFormScriptDiagnostic

Properties

NameDescription
EventGets the script that produced it.
FieldNameGets the fully qualified name of the field of the script, or null for a document-level script.
KindGets the kind of diagnostic.
MessageGets the message: the error, the function blocked, the text of the alert.

Gets the script that produced it.

public PdfFormScriptEvent Event { get; }

Property value

PdfFormScriptEvent

Gets the fully qualified name of the field of the script, or null for a document-level script.

public string? FieldName { get; }

Property value

string?

Gets the kind of diagnostic.

public PdfFormScriptDiagnosticKind Kind { get; }

Gets the message: the error, the function blocked, the text of the alert.

public string Message { get; }

Property value

string

Methods

NameDescription
ToString()Returns a string that represents the current object.

Returns a string that represents the current object.

public override string ToString()

Returns

string A string that represents the current object.