From Tracker Software PDF SDK
Revision as of 04:40, 2 November 2016 by Palamar
Writes the document to the given destination.
HRESULT WriteTo([in] IUnknown* pDest, [in, defaultvalue(NULL)] IProgressMon* pProgress, [in, defaultvalue(0)] ULONG nFlags);
- [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.
- [in, defaultvalue(NULL)] Pointer to IProgressMon containing the custom progress if one is needed.
- [in, defaultvalue(0)] Value of ULONG containing the document write flags.
Returns S_OK if operation was successful or error code in other cases.