IPXC_Document::WriteTo Method

From Tracker Software PDF SDK
Revision as of 04:40, 2 November 2016 by Palamar (Talk | contribs)

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


Writes the document to the given destination.

Syntax

HRESULT WriteTo([in]                      IUnknown*      pDest,
                [in, defaultvalue(NULL)]  IProgressMon*  pProgress,
                [in, defaultvalue(0)]     ULONG          nFlags);

Parameters

pDest
[in] Pointer to IUnknown* containing the destination. Can be IAFS_File, IStream or null. If null value is specified the document will be saved to the file that it was opened from.
pProgress
[in, defaultvalue(NULL)] Pointer to IProgressMon containing the custom progress if one is needed.
nFlags
[in, defaultvalue(0)] Value of ULONG containing the document write flags.

Return Value

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

See Also

IPXC_Document