IPXV_Control::CreateNewBlankDoc2 Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(2 intermediate revisions by the same user not shown) | |||
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 sPaperSize, |
[in] LONG nPagesCount, | [in] LONG nPagesCount, | ||
[in, defaultvalue(0)] LONG nPageRotation);</pre> | [in, defaultvalue(0)] LONG nPageRotation);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;sPaperSize |
:[in] Specifies a standard paper name. For example: | :[in] Specifies a standard paper name. For example: | ||
::<tt>A4</tt> | ::<tt>A4</tt> |
Latest revision as of 03:49, 15 June 2015
Creates and opens the new blank document.
Syntax
HRESULT CreateNewBlankDoc2([in] BSTR sPaperSize, [in] LONG nPagesCount, [in, defaultvalue(0)] LONG nPageRotation);
Parameters
- sPaperSize
- [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.