IPXV_Inst::NewCoreDoc Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXV_Inst::NewCoreDoc Method}}
 
{{#customTitle:IPXV_Inst::NewCoreDoc Method}}
{{#parentPage:PXV:IPXV_Inst|NewCoreDoc Method|method}}
+
{{#parentPage:PXV:IPXV_Inst#Methods|NewCoreDoc|method}}
{{ToWrite}}
+
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
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**  ppDoc);</pre>
+
                   [out, retval]            IPXC_Document**  pDoc);</pre>
  
 
== Parameters ==
 
== Parameters ==
 
;pNewDocParams
 
;pNewDocParams
:[in, defaultvalue(NULL)]  Pointer to [[PXV:ICab|ICab]].
+
:[in, defaultvalue(NULL)]  The optional pointer to [[PXV:ICab|ICab]] that contains additional parameters for new document creation.
;ppDoc
+
;pDoc
:[out, retval]  Pointer to [[PXV:IPXC_Document|IPXC_Document]].
+
:[out, retval]  Returns pointer to new [[PXV:IPXC_Document|IPXC_Document]] object.
  
 
== Return Value ==
 
== Return Value ==
Line 21: Line 21:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXV_Inst|IPXV_Inst]].
+
[[PXV:IPXV_Inst|IPXV_Inst]]

Latest revision as of 03: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.

See Also

IPXV_Inst