SetXFAFromString
Form fields
Description
Sets the document's XFA form data to the specified XML string.
Syntax
Delphi
function TPDFlib.SetXFAFromString(Const Source: AnsiString; Options: Integer): Integer;ActiveX
Function PDFlib::SetXFAFromString(Source As String, Options As Long) As LongDLL
int DLSetXFAFromString(int InstanceID, char * Source, int Options);Parameters
| Source | The new XML string to store as the XFA form data. |
|---|---|
| Options | Reserved for future use. Should be set to 0. |
Return values
| 0 | The XFA form data could not be set, this usually means the document does not have an AcroForm dictionary. |
|---|---|
| 1 | The XFA form data was set successfully. |