IPXV_MainFrame::OpenDocs Method
From PDF XChange PDF SDK
(Automatic page editing by robot) |
|||
Line 3: | Line 3: | ||
{{#customTitle:IPXV_MainFrame::OpenDocs Method}} | {{#customTitle:IPXV_MainFrame::OpenDocs Method}} | ||
{{#parentPage:PXV:IPXV_MainFrame#Methods|OpenDocs|method}} | {{#parentPage:PXV:IPXV_MainFrame#Methods|OpenDocs|method}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | Opens multiple documents from given paths. | |
== Syntax == | == Syntax == | ||
Line 16: | Line 15: | ||
== Parameters == | == Parameters == | ||
;pSrcFileNames | ;pSrcFileNames | ||
− | :[in] Pointer to [[PXV:IAFS_NamesCollection|IAFS_NamesCollection]]. | + | :[in] Pointer to [[PXV:IAFS_NamesCollection|IAFS_NamesCollection]] containing the paths to the documents. |
;pOpenParams | ;pOpenParams | ||
− | :[in, defaultvalue(NULL)] Pointer to [[PXV:ICab|ICab]]. | + | :[in, defaultvalue(NULL)] Pointer to [[PXV:ICab|ICab]] containing additional document open parameters. |
;nFlags | ;nFlags | ||
− | :[in, defaultvalue(0)] Value of ULONG. | + | :[in, defaultvalue(0)] Value of ULONG containing documents' open flags. If '''1''' is used then no UI will be used when opening the documents. |
;pResDocs | ;pResDocs | ||
− | :[in, defaultvalue(NULL)] Pointer to [[PXV:IPXV_DocList|IPXV_DocList]]. | + | :[in, defaultvalue(NULL)] Pointer to [[PXV:IPXV_DocList|IPXV_DocList]] containing the list of the opened documents. |
== Return Value == | == Return Value == |
Latest revision as of 05:57, 11 April 2016
Opens multiple documents from given paths.
Syntax
HRESULT OpenDocs([in] IAFS_NamesCollection* pSrcFileNames, [in, defaultvalue(NULL)] ICab* pOpenParams, [in, defaultvalue(0)] ULONG nFlags, [in, defaultvalue(NULL)] IPXV_DocList* pResDocs);
Parameters
- pSrcFileNames
- [in] Pointer to IAFS_NamesCollection containing the paths to the documents.
- pOpenParams
- [in, defaultvalue(NULL)] Pointer to ICab containing additional document open parameters.
- nFlags
- [in, defaultvalue(0)] Value of ULONG containing documents' open flags. If 1 is used then no UI will be used when opening the documents.
- pResDocs
- [in, defaultvalue(NULL)] Pointer to IPXV_DocList containing the list of the opened documents.
Return Value
Returns S_OK if operation was successful or error code in other cases.