IPXV_Control::OpenDocFrom Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 8: | Line 8: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT OpenDocFrom([in] IUnknown* | + | <pre class="brush:cpp;gutter:false">HRESULT OpenDocFrom([in] IUnknown* Src, |
− | [in, defaultvalue(NULL)] ICab* | + | [in, defaultvalue(NULL)] ICab* OpenParams);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;Src |
:[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. | :[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. | ||
− | ; | + | ;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 source.
Syntax
HRESULT OpenDocFrom([in] IUnknown* Src, [in, defaultvalue(NULL)] ICab* OpenParams);
Parameters
- Src
- [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.
- 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_Inst::CreateString, IPXV_Control::OpenDocFromPath