IPXC_Inst::NewDocumentEx Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
{{#customTitle:IPXC_Inst::NewDocumentEx Method}} | {{#customTitle:IPXC_Inst::NewDocumentEx Method}} | ||
{{#parentPage:PXV:IPXC_Inst#Methods|NewDocumentEx|method}} | {{#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* | + | <pre class="brush:cpp;gutter:false">HRESULT NewDocumentEx([in] ICab* pNewDocParams, |
− | [out, retval] IPXC_Document** | + | [out, retval] IPXC_Document** pDocument);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;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 == |
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.