IPXC_Inst::NewDocumentEx Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(7 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IPXC_Inst::NewDocumentEx Method}} | {{#customTitle:IPXC_Inst::NewDocumentEx Method}} | ||
− | {{#parentPage:PXV:IPXC_Inst|NewDocumentEx | + | {{#parentPage:PXV:IPXC_Inst#Methods|NewDocumentEx|method}} |
− | + | ||
{{ToReview}} | {{ToReview}} | ||
− | + | Creates new document with given type. | |
== Syntax == | == Syntax == | ||
<pre class="brush:cpp;gutter:false">HRESULT NewDocumentEx([in] ICab* pNewDocParams, | <pre class="brush:cpp;gutter:false">HRESULT NewDocumentEx([in] ICab* pNewDocParams, | ||
− | [out, retval] IPXC_Document** | + | [out, retval] IPXC_Document** pDocument);</pre> |
== Parameters == | == Parameters == | ||
;pNewDocParams | ;pNewDocParams | ||
− | :[in] Pointer to [[PXV:ICab|ICab]]. | + | :[in] Pointer to [[PXV:ICab|ICab]] containing the type parameters of the new document. |
− | ; | + | ;pDocument |
− | :[out, retval] Pointer to [[PXV:IPXC_Document|IPXC_Document]]. | + | :[out, retval] Pointer to [[PXV:IPXC_Document|IPXC_Document]] containing the newly created document. |
== Return Value == | == Return Value == | ||
Line 21: | Line 21: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IPXC_Inst|IPXC_Inst]] |
Latest revision as of 00:17, 11 April 2016
Creates new document with given type.
Syntax
HRESULT NewDocumentEx([in] ICab* pNewDocParams, [out, retval] IPXC_Document** pDocument);
Parameters
- pNewDocParams
- [in] Pointer to ICab containing the type parameters of the new document.
- pDocument
- [out, retval] Pointer to IPXC_Document containing the newly created document.
Return Value
Returns S_OK if operation was successful or error code in other cases.