From Tracker Software PDF SDK
Revision as of 05:52, 11 April 2016 by Palamar
The method opens a document from the specified file.
HRESULT OpenDocFromPath([in] BSTR sSrcPath, [in, defaultvalue(NULL)] ICab* pOpenParams, [out, retval, defaultvalue(NULL)] IPXV_Document** pDoc);
- [in] Value of BSTR containing the full path to the source file.
- [in, defaultvalue(NULL)] Pointer to ICab specifying the additional parameters for document opening.
- [out, retval, defaultvalue(NULL)] Pointer to IPXV_Document containing the opened document.
Returns S_OK if operation was successful or error code in other cases.