IPXC_Inst::OpenDocumentFromFile Method

From PDF XChange PDF SDK
Revision as of 13:10, 24 March 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

Jump to: navigation, search

The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT OpenDocumentFromFile([in] LPWSTR lpszFileName, [in] IPXC_DocAuthCallback* pAuthCallback, [in, optional] IProgressMon* pProgressMon, [in, optional] ULONG dwFlags, [in, optional] ULONG permsMask, [out, retval] IPXC_Document** ppDocument);

Parameters

lpszFileName
[in] Value of LPWSTR.
pAuthCallback
[in] Pointer to IPXC_DocAuthCallback.
pProgressMon
[in, optional] Pointer to IProgressMon.
dwFlags
[in, optional] Value of ULONG.
permsMask
[in, optional] 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.

See Also

See also IPXC_Inst.