HPDFXFAHostModelJavaScript

Unit: HPDFXFAHostModel

Declaration

function HPDFXFAHostModelJavaScript(
  const State: TXFAHostModelState): AnsiString;

Behaviour

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

The serialiser escapes quotation marks, backslashes and control characters, and rejects invalid page state with ERangeError

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

It has no UI, filesystem or network effect

Related APIs

TXFAHostModelState and Interactive Dynamic XFA Widget Runtime