IPXV_Control::CreateNewBlankDoc Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 8: | Line 8: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT CreateNewBlankDoc([in] double | + | <pre class="brush:cpp;gutter:false">HRESULT CreateNewBlankDoc([in] double PageWidth, |
− | [in] double | + | [in] double PageHeight, |
− | [in] LONG | + | [in] LONG PagesCount, |
− | [in, defaultvalue(0)] LONG | + | [in, defaultvalue(0)] LONG PageRotation);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;PageWidth |
:[in] The width in points (1/72 in) of pages to be created. | :[in] The width in points (1/72 in) of pages to be created. | ||
− | ; | + | ;PageHeight |
:[in] The height in points (1/72 in) of pages to be created. | :[in] The height in points (1/72 in) of pages to be created. | ||
− | ; | + | ;PagesCount |
:[in] The inital count of pages to be created. | :[in] The inital count of pages to be created. | ||
− | ; | + | ;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 CreateNewBlankDoc([in] double PageWidth, [in] double PageHeight, [in] LONG PagesCount, [in, defaultvalue(0)] LONG PageRotation);
Parameters
- PageWidth
- [in] The width in points (1/72 in) of pages to be created.
- PageHeight
- [in] The height in points (1/72 in) of pages to be created.
- PagesCount
- [in] The inital count of pages to be created.
- 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.