IPXV_Control::CreateNewBlankDoc Method
From PDF XChange PDF SDK
(Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IPXV_Control::CreateNewBlankDoc Method}} | {{#customTitle:IPXV_Control::CreateNewBlankDoc Method}} | ||
+ | {{#parentPage:PXV:IPXV_Control#Methods|CreateNewBlankDoc|method}} | ||
+ | {{ToReview}} | ||
− | + | Creates and opens the new blank document. | |
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT CreateNewBlankDoc([in] double nPageWidth, [in] double nPageHeight, [in] LONG nPagesCount, [in, | + | <pre class="brush:cpp;gutter:false">HRESULT CreateNewBlankDoc([in] double nPageWidth, |
+ | [in] double nPageHeight, | ||
+ | [in] LONG nPagesCount, | ||
+ | [in, defaultvalue(0)] LONG nPageRotation);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;nPageWidth |
− | :[in] | + | :[in] The width in points (1/72 in) of pages to be created. |
− | ; | + | ;nPageHeight |
− | :[in] | + | :[in] The height in points (1/72 in) of pages to be created. |
− | ; | + | ;nPagesCount |
− | :[in] | + | :[in] The inital count of pages to be created. |
− | ; | + | ;nPageRotation |
− | :[in, | + | :[in, defaultvalue(0)] The rotation angle of new pages, multiple of 90(degrees). |
== Return Value == | == Return Value == | ||
Line 21: | Line 27: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IPXV_Control|IPXV_Control]] |
Latest revision as of 03:49, 15 June 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 created.
- 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.