IPXV_Control::CreateNewBlankDoc Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 3: Line 3:
 
{{#customTitle:IPXV_Control::CreateNewBlankDoc Method}}
 
{{#customTitle:IPXV_Control::CreateNewBlankDoc Method}}
 
{{#parentPage:PXV:IPXV_Control#Methods|CreateNewBlankDoc|method}}
 
{{#parentPage:PXV:IPXV_Control#Methods|CreateNewBlankDoc|method}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Creates and opens the new blank document.
  
 
== Syntax ==
 
== Syntax ==
Line 16: Line 15:
 
== Parameters ==
 
== Parameters ==
 
;nPageWidth
 
;nPageWidth
:[in]  Value of double.
+
:[in]  The width in points (1/72 in) of pages to be created.
 
;nPageHeight
 
;nPageHeight
:[in]  Value of double.
+
:[in]  The height in points (1/72 in) of pages to be created.
 
;nPagesCount
 
;nPagesCount
:[in]  Value of LONG.
+
:[in]  The inital count of pages to be creates.
 
;nPageRotation
 
;nPageRotation
:[in, defaultvalue(0)]  Value of LONG.
+
:[in, defaultvalue(0)]  The rotation angle of new pages, multiple of 90(degrees).
  
 
== Return Value ==
 
== Return Value ==

Revision as of 18:53, 27 May 2015


Creates and opens the new blank document.

Syntax

HRESULT CreateNewBlankDoc([in]                   double  nPageWidth,
                          [in]                   double  nPageHeight,
                          [in]                   LONG    nPagesCount,
                          [in, defaultvalue(0)]  LONG    nPageRotation);

Parameters

nPageWidth
[in] The width in points (1/72 in) of pages to be created.
nPageHeight
[in] The height in points (1/72 in) of pages to be created.
nPagesCount
[in] The inital count of pages to be creates.
nPageRotation
[in, defaultvalue(0)] The rotation angle of new pages, multiple of 90(degrees).

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IPXV_Control