IPXC_Inst::OpenDocumentFrom Method
From PDF XChange PDF SDK
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT OpenDocumentFrom([in] IUnknown* pSrc, [in] IPXC_DocAuthCallback* pAuthCallback, [in, defaultvalue(NULL)] IProgressMon* pProgressMon, [in, defaultvalue(0)] ULONG dwFlags, [in, defaultvalue(0)] ULONG permsMask, [out, retval] IPXC_Document** ppDocument);
Parameters
- pSrc
- [in] Pointer to IUnknown*.
- pAuthCallback
- [in] Pointer to IPXC_DocAuthCallback.
- pProgressMon
- [in, defaultvalue(NULL)] Pointer to IProgressMon.
- dwFlags
- [in, defaultvalue(0)] Value of ULONG.
- permsMask
- [in, defaultvalue(0)] Value of ULONG.
- ppDocument
- [out, retval] Pointer to IPXC_Document.
Return Value
Returns S_OK if operation was successful or error code in other cases.