IPXV_MainFrame::OpenDocFromPath Method

From PDF XChange PDF SDK
Revision as of 06:52, 11 April 2016 by Palamar (Talk | contribs)

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


The method opens a document from the specified file.

Syntax

HRESULT OpenDocFromPath([in]                               BSTR             sSrcPath,
                        [in, defaultvalue(NULL)]           ICab*            pOpenParams,
                        [out, retval, defaultvalue(NULL)]  IPXV_Document**  pDoc);

Parameters

sSrcPath
[in] Value of BSTR containing the full path to the source file.
pOpenParams
[in, defaultvalue(NULL)] Pointer to ICab specifying the additional parameters for document opening.
pDoc
[out, retval, defaultvalue(NULL)] Pointer to IPXV_Document containing the opened document.

Return Value

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

See Also

IPXV_MainFrame