IPXV_Control::OpenDocFrom Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 3: Line 3:
 
{{#customTitle:IPXV_Control::OpenDocFrom Method}}
 
{{#customTitle:IPXV_Control::OpenDocFrom Method}}
 
{{#parentPage:PXV:IPXV_Control#Methods|OpenDocFrom|method}}
 
{{#parentPage:PXV:IPXV_Control#Methods|OpenDocFrom|method}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
The method opens the specified document.
  
 
== Syntax ==
 
== Syntax ==
Line 14: Line 13:
 
== Parameters ==
 
== Parameters ==
 
;pSrc
 
;pSrc
:[in]  Pointer to IUnknown*.
+
:[in]  A pointer to [[PXV:IAFS_Name|IAFS_Name]]/[[PXV:IAFS_File|IAFS_File]]/IStream object that specifies the source of all user's preferences. Also via [[PXV:IString|IString]] you may specify the full path to a file.
 
;pOpenParams
 
;pOpenParams
:[in, defaultvalue(NULL)]  Pointer to [[PXV:ICab|ICab]].
+
:[in, defaultvalue(NULL)]  An optional pointer to [[PXV:ICab|ICab]] object that specifies the additional parameters for document opening.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 16:08, 28 May 2015


The method opens the specified document.

Syntax

HRESULT OpenDocFrom([in]                      IUnknown*  pSrc,
                    [in, defaultvalue(NULL)]  ICab*      pOpenParams);

Parameters

pSrc
[in] A pointer to IAFS_Name/IAFS_File/IStream object that specifies the source of all user's preferences. Also via IString you may specify the full path to a file.
pOpenParams
[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