IPXC_AcroForm::Export Method

From PDF XChange PDF SDK
Revision as of 08:10, 13 June 2016 by Dsbot (Talk | contribs) (Automatic page editing by robot)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Exports form data to a specified file format.


HRESULT Export([in]  IAFS_Name*        pDest,
               [in]  LPWSTR            sFormat,
               [in]  IPXS_PDFVariant*  pFieldsList,
               [in]  VARIANT_BOOL      bInclude,
               [in]  ULONG             nFlags);


IAFS_Name object that specifies the file where the form export result should be stored.
String value that defines the format of the exported file. Possible values are: FDF, XFDF, HTML, XML.
Defines the list of fields that should be exported. If this parameter is nullptr all fields will be exported and parameter bInclude will be ignored.

Otherwise it should be a IPXS_PDFVariant object of PVT_Array type. If bInclude has value of VARIANT_FALSE, that array defines a list of fields that should be excluded from all fields list before exporting. Otherwise the list contains the fields that should be exported. Array should contain PDF objects of fields or PDF objects with type PVT_String that represents the field name.

[in] Value of VARIANT_BOOL.
Combination of PXC_ExportFormFlags flags that modify export functionality.

Return Value

Returns S_OK if operation was successful or an error code in other cases.

See Also