IPXV_Control::OpenDocFromPath Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 8: Line 8:
  
 
== 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);</pre>
+
                         [in, defaultvalue(NULL)]  ICab*  OpenParams);</pre>
  
 
== Parameters ==
 
== Parameters ==
;sSrcPath
+
;SrcPath
 
:[in]  The string that contains the full path to the source file.
 
:[in]  The string that contains the full path to the source file.
;pOpenParams
+
;OpenParams
 
:[in, defaultvalue(NULL)]  An optional pointer to [[PXV:ICab|ICab]] object that specifies the additional parameters for document opening.
 
:[in, defaultvalue(NULL)]  An optional pointer to [[PXV:ICab|ICab]] object that specifies the additional parameters for document opening.
  

Revision as of 07:26, 12 June 2015


The method opens an document from the specified file.

Syntax

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

Parameters

SrcPath
[in] The string that contains the full path to the source file.
OpenParams
[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