IPXV_Control::CreateNewBlankDoc2 Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 3: | Line 3: | ||
{{#customTitle:IPXV_Control::CreateNewBlankDoc2 Method}} | {{#customTitle:IPXV_Control::CreateNewBlankDoc2 Method}} | ||
{{#parentPage:PXV:IPXV_Control#Methods|CreateNewBlankDoc2|method}} | {{#parentPage:PXV:IPXV_Control#Methods|CreateNewBlankDoc2|method}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | Creates and opens the new blank document. | |
== Syntax == | == Syntax == | ||
Line 15: | Line 14: | ||
== Parameters == | == Parameters == | ||
;pPaperSize | ;pPaperSize | ||
− | :[in] | + | :[in] Specifies a standard paper name. For example: |
+ | ::<tt>A4</tt> | ||
+ | ::<tt>B4</tt> | ||
+ | ::<tt>Letter/ANSI A</tt> | ||
+ | ::<tt>Tabloid/ANSI B</tt> | ||
+ | ::<tt>...</tt> | ||
+ | |||
;nPagesCount | ;nPagesCount | ||
− | :[in] | + | :[in] The initial pages count. |
;nPageRotation | ;nPageRotation | ||
− | :[in, defaultvalue(0)] | + | :[in, defaultvalue(0)] The rotation angle of new pages, multiple of 90(degrees). |
== Return Value == | == Return Value == |
Revision as of 18:57, 27 May 2015
Creates and opens the new blank document.
Syntax
HRESULT CreateNewBlankDoc2([in] BSTR pPaperSize, [in] LONG nPagesCount, [in, defaultvalue(0)] LONG nPageRotation);
Parameters
- pPaperSize
- [in] Specifies a standard paper name. For example:
- A4
- B4
- Letter/ANSI A
- Tabloid/ANSI B
- ...
- nPagesCount
- [in] The initial pages count.
- 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.