IPXV_Document::Save Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 20: Line 20:
 
== Parameters ==
 
== Parameters ==
 
;pDest
 
;pDest
:[in, defaultvalue(NULL)]  Pointer to IUnknown*.
+
:[in, defaultvalue(NULL)]  Pointer to IUnknown* containing the destination file path. Can be ether [[PXV:IAFS_Name|IAFS_Name]], [[PXV:IStream|IStream]] or NULL. If NULL is specified then the document will be saved to the original file. If the document is newly created, the Save As... dialog will be shown.
 
;nFlags
 
;nFlags
 
:[in, defaultvalue(0)]  Value of LONG.
 
:[in, defaultvalue(0)]  Value of LONG.

Revision as of 00:39, 16 March 2016


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT Save([in, defaultvalue(NULL)]  IUnknown*              pDest,
             [in, defaultvalue(0)]     LONG                   nFlags,
             [in, defaultvalue(NULL)]  IProgressMon*          pProgress,
             [in, defaultvalue(NULL)]  IPXV_ExportConverter*  pDestConv,
             [in, defaultvalue(NULL)]  ICab*                  pDestConvParams,
             [in, defaultvalue(NULL)]  IAFS_FileSys*          pDestFS,
             [in, defaultvalue(NULL)]  ICab*                  pAdvancedParams,
             [in, defaultvalue(0)]     HANDLE_T               hWndParent);

Parameters

pDest
[in, defaultvalue(NULL)] Pointer to IUnknown* containing the destination file path. Can be ether IAFS_Name, IStream or NULL. If NULL is specified then the document will be saved to the original file. If the document is newly created, the Save As... dialog will be shown.
nFlags
[in, defaultvalue(0)] Value of LONG.
pProgress
[in, defaultvalue(NULL)] Pointer to IProgressMon.
pDestConv
[in, defaultvalue(NULL)] Pointer to IPXV_ExportConverter.
pDestConvParams
[in, defaultvalue(NULL)] Pointer to ICab.
pDestFS
[in, defaultvalue(NULL)] Pointer to IAFS_FileSys.
pAdvancedParams
[in, defaultvalue(NULL)] Pointer to ICab.
hWndParent
[in, defaultvalue(0)] Value of HANDLE_T.

Return Value

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

See Also

IPXV_Document