IPXV_Control::CreateNewBlankDoc2 Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 8: | Line 8: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT CreateNewBlankDoc2([in] BSTR | + | <pre class="brush:cpp;gutter:false">HRESULT CreateNewBlankDoc2([in] BSTR PaperSize, |
− | [in] LONG | + | [in] LONG PagesCount, |
− | [in, defaultvalue(0)] LONG | + | [in, defaultvalue(0)] LONG PageRotation);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;PaperSize |
:[in] Specifies a standard paper name. For example: | :[in] Specifies a standard paper name. For example: | ||
::<tt>A4</tt> | ::<tt>A4</tt> | ||
Line 21: | Line 21: | ||
::<tt>...</tt> | ::<tt>...</tt> | ||
− | ; | + | ;PagesCount |
:[in] The initial pages count. | :[in] The initial pages count. | ||
− | ; | + | ;PageRotation |
:[in, defaultvalue(0)] The rotation angle of new pages, multiple of 90(degrees). | :[in, defaultvalue(0)] The rotation angle of new pages, multiple of 90(degrees). | ||
Revision as of 07:25, 12 June 2015
Creates and opens the new blank document.
Syntax
HRESULT CreateNewBlankDoc2([in] BSTR PaperSize, [in] LONG PagesCount, [in, defaultvalue(0)] LONG PageRotation);
Parameters
- PaperSize
- [in] Specifies a standard paper name. For example:
- A4
- B4
- Letter/ANSI A
- Tabloid/ANSI B
- ...
- PagesCount
- [in] The initial pages count.
- PageRotation
- [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.