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


The method of interface of PDF-XChange Editor SDK.

Syntax

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

Parameters

sSrcPath
[in] Value of BSTR.
pOpenParams
[in, defaultvalue(NULL)] Pointer to ICab.
pDoc
[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