IPXC_Inst::NewDocumentEx Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(2 intermediate revisions 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}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Creates new document with given type.
  
 
== Syntax ==
 
== Syntax ==
Line 14: Line 13:
 
== 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
 
;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.

See Also

IPXC_Inst