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 9: Line 9:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT OpenDocFromPath([in]                              BSTR            sSrcPath,
+
<pre class="brush:cpp;gutter:false">HRESULT OpenDocFromPath([in]                              BSTR            SrcPath,
                         [in, defaultvalue(NULL)]          ICab*            pOpenParams,
+
                         [in, defaultvalue(NULL)]          ICab*            OpenParams,
                         [out, retval, defaultvalue(NULL)]  IPXV_Document**  pDoc);</pre>
+
                         [out, retval, defaultvalue(NULL)]  IPXV_Document**  Doc);</pre>
  
 
== Parameters ==
 
== Parameters ==
;sSrcPath
+
;SrcPath
 
:[in]  Value of BSTR.
 
:[in]  Value of BSTR.
;pOpenParams
+
;OpenParams
 
:[in, defaultvalue(NULL)]  Pointer to [[PXV:ICab|ICab]].
 
:[in, defaultvalue(NULL)]  Pointer to [[PXV:ICab|ICab]].
;pDoc
+
;Doc
 
:[out, retval, defaultvalue(NULL)]  Pointer to [[PXV:IPXV_Document|IPXV_Document]].
 
:[out, retval, defaultvalue(NULL)]  Pointer to [[PXV:IPXV_Document|IPXV_Document]].
  

Revision as of 06:35, 12 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT OpenDocFromPath([in]                               BSTR             SrcPath,
                        [in, defaultvalue(NULL)]           ICab*            OpenParams,
                        [out, retval, defaultvalue(NULL)]  IPXV_Document**  Doc);

Parameters

SrcPath
[in] Value of BSTR.
OpenParams
[in, defaultvalue(NULL)] Pointer to ICab.
Doc
[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

IPXV_MainFrame