GetXFAToString
Form fields
Description
Returns the complete XFA form contents as an XML string.
Unmodified XFA packets retain their original byte encoding, which may be UTF-16; after editing, packets are serialised as UTF-8 and an existing XML encoding declaration is updated accordingly while retaining other declaration attributes
Syntax
Delphi
Function TPDFlib.GetXFAToString(Options: Integer): AnsiString;
DLL
const char* DLGetXFAToString(int InstanceID, int Options);
Parameters
| Options | Reserved for future use. Should be set to zero. |
|---|
Return values
Returns the complete XFA form contents as an XML string. Returns an empty string when the document has no form data.