IPXC_Inst::NewDocumentEx Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
 
(9 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#Methods|NewDocumentEx|method}}
 +
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Creates new document with given type.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT NewDocumentEx([in] ICab* pNewDocParams, [out, retval] IPXC_Document** ppDocument);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT NewDocumentEx([in]           ICab*           pNewDocParams,
 +
                      [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.
;''ppDocument''
+
;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 17: Line 21:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXC_Inst|IPXC_Inst]].
+
[[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.

See Also

IPXC_Inst