HPDFXFAHostModelJavaScript

Unit: HPDFXFAHostModel

Declaration

function HPDFXFAHostModelJavaScript(
  const State: TXFAHostModelState): AnsiString;

Behavior

Returns an object literal preserving Unicode application metadata through escaped UTF-16 code units

The serializer escapes quotation marks, backslashes and controls and rejects invalid page state with ERangeError

Unpaired UTF-16 surrogates in application metadata raise EArgumentException; valid supplementary characters retain their surrogate pairs

It performs no UI, filesystem or network effect

Related APIs

TXFAHostModelState and Interactive Dynamic XFA Widget Runtime