IPXV_MainFrame::OpenDocFrom Method

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

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


Opens a document from the specified source.

Syntax

HRESULT OpenDocFrom([in]                               IUnknown*        pSrc,
                    [in, defaultvalue(NULL)]           ICab*            pOpenParams,
                    [out, retval, defaultvalue(NULL)]  IPXV_Document**  pDoc);

Parameters

pSrc
[in] Pointer to IUnknown* containing a pointer to IAFS_Name/IAFS_File/IStream object that specifies the source of all user's preferences. Also via IString you may specify the full path to a 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