IIXC_Inst::Page_CreateEmpty Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 9: | Line 9: | ||
<pre class="brush:cpp;gutter:false">HRESULT Page_CreateEmpty([in] ULONG nWidth, | <pre class="brush:cpp;gutter:false">HRESULT Page_CreateEmpty([in] ULONG nWidth, | ||
[in] ULONG nHeight, | [in] ULONG nHeight, | ||
− | [in] | + | [in] IXC_PageFormat nFormat, |
[in] ULONG nDefColor, | [in] ULONG nDefColor, | ||
[out, retval] IIXC_Page** pPage);</pre> | [out, retval] IIXC_Page** pPage);</pre> |
Revision as of 03:37, 4 June 2015
The method creates new page with specified attributes (width, height, and format).
Syntax
HRESULT Page_CreateEmpty([in] ULONG nWidth, [in] ULONG nHeight, [in] IXC_PageFormat nFormat, [in] ULONG nDefColor, [out, retval] IIXC_Page** pPage);
Parameters
- nWidth
- [in] Specifies the width of the new page.
- nHeight
- [in] Specifies the height of the new page.
- nFormat
- [in] Specifies internal format in which data will be stored into new page.
- nDefColor
- [in] Specifies color which will be used for filling entire page during creation.
- pPage
- [out, retval] Pointer to IIXC_Page of created page will be stored.
Return Value
Returns S_OK if operation was successful or error code in other cases.