IPXV_Control::OpenDocFrom Method

From PDF XChange PDF SDK
Jump to: navigation, search
 
(4 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
{{ToReview}}
 
{{ToReview}}
  
The method opens the specified document.
+
The method opens a document from the specified source.
  
 
== Syntax ==
 
== Syntax ==
Line 21: Line 21:
  
 
== See Also ==
 
== See Also ==
[[PXV:IPXV_Control|IPXV_Control]]
+
[[PXV:IPXV_Control|IPXV_Control]], [[PXV:IPXV_Inst_CreateString|IPXV_Inst::CreateString]], [[PXV:IPXV_Control_OpenDocFromPath|IPXV_Control::OpenDocFromPath]]

Latest revision as of 06:54, 11 April 2016


The method opens a document from the specified source.

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, IPXV_Inst::CreateString, IPXV_Control::OpenDocFromPath