IPXV_Inst::NewCoreDoc Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IPXV_Inst::NewCoreDoc Method}} | {{#customTitle:IPXV_Inst::NewCoreDoc Method}} | ||
− | {{#parentPage:PXV:IPXV_Inst|NewCoreDoc | + | {{#parentPage:PXV:IPXV_Inst#Methods|NewCoreDoc|method}} |
− | + | ||
{{ToReview}} | {{ToReview}} | ||
− | + | Creates a new blank core-document object. | |
== Syntax == | == Syntax == | ||
<pre class="brush:cpp;gutter:false">HRESULT NewCoreDoc([in, defaultvalue(NULL)] ICab* pNewDocParams, | <pre class="brush:cpp;gutter:false">HRESULT NewCoreDoc([in, defaultvalue(NULL)] ICab* pNewDocParams, | ||
− | [out, retval] IPXC_Document** | + | [out, retval] IPXC_Document** pDoc);</pre> |
== Parameters == | == Parameters == | ||
;pNewDocParams | ;pNewDocParams | ||
− | :[in, defaultvalue(NULL)] | + | :[in, defaultvalue(NULL)] The optional pointer to [[PXV:ICab|ICab]] that contains additional parameters for new document creation. |
− | ; | + | ;pDoc |
− | :[out, retval] | + | :[out, retval] Returns pointer to new [[PXV:IPXC_Document|IPXC_Document]] object. |
== Return Value == | == Return Value == | ||
Line 22: | Line 21: | ||
== See Also == | == See Also == | ||
− | [[PXV:IPXV_Inst|IPXV_Inst]] | + | [[PXV:IPXV_Inst|IPXV_Inst]] |
Latest revision as of 02:57, 15 June 2015
Creates a new blank core-document object.
Syntax
HRESULT NewCoreDoc([in, defaultvalue(NULL)] ICab* pNewDocParams, [out, retval] IPXC_Document** pDoc);
Parameters
- pNewDocParams
- [in, defaultvalue(NULL)] The optional pointer to ICab that contains additional parameters for new document creation.
- pDoc
- [out, retval] Returns pointer to new IPXC_Document object.
Return Value
Returns S_OK if operation was successful or error code in other cases.