IPXV_MainFrame::OpenDocFromPath Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 5: Line 5:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT OpenDocFromPath([in] BSTR pSrcPath, [in, optional] ICab* pOpenParams, [out, retval, optional] IPXV_Document** ppDoc);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT OpenDocFromPath([in] BSTR pSrcPath, [in, defaultvalue(NULL)] ICab* pOpenParams, [out, retval, defaultvalue(NULL)] IPXV_Document** ppDoc);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 11: Line 11:
 
:[in]  Value of BSTR.
 
:[in]  Value of BSTR.
 
;''pOpenParams''
 
;''pOpenParams''
:[in, optional]  Pointer to [[PXV:ICab|ICab]].
+
:[in, defaultvalue(NULL)]  Pointer to [[PXV:ICab|ICab]].
 
;''ppDoc''
 
;''ppDoc''
:[out, retval, optional]  Pointer to [[PXV:IPXV_Document|IPXV_Document]].
+
:[out, retval, defaultvalue(NULL)]  Pointer to [[PXV:IPXV_Document|IPXV_Document]].
  
 
== Return Value ==
 
== Return Value ==

Revision as of 00:41, 17 April 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

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

Parameters

pSrcPath
[in] Value of BSTR.
pOpenParams
[in, defaultvalue(NULL)] Pointer to ICab.
ppDoc
[out, retval, defaultvalue(NULL)] Pointer to IPXV_Document.

Return Value

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

See Also

See also IPXV_MainFrame.