IPXV_Control::OpenDocFromPath Method

From PDF XChange PDF SDK
Revision as of 16:14, 28 May 2015 by Pifagor (Talk | contribs)

Jump to: navigation, search


The method opens an document from the specified file.

Syntax

HRESULT OpenDocFromPath([in]                      BSTR   pSrcPath,
                        [in, defaultvalue(NULL)]  ICab*  pOpenParams);

Parameters

pSrcPath
[in] The string that contains the full path to the source file.
pOpenParams
[in, defaultvalue(NULL)] An optional pointer to ICab object that specifies the additional parameters for document opening.

Return Value

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

See Also

IPXV_Control, IPXV_Control::OpenDocFrom