IIXC_Inst::Page_CreateEmpty Method

From PDF XChange PDF SDK
Jump to: navigation, search
(See Also)
Line 34: Line 34:
 
:[[PXV:IIXC_Page_Format|IIXC_Page::Format]]
 
:[[PXV:IIXC_Page_Format|IIXC_Page::Format]]
 
:[[PXV:IXC_PageFormat|IXC_PageFormat]]
 
:[[PXV:IXC_PageFormat|IXC_PageFormat]]
 +
 +
:[[PXV:IIXC_Inst_Page_CreateFromClipboard|IIXC_Inst::Page_CreateFromClipboard]]
 +
:[[PXV:IIXC_Inst_Page_CreateFromHBITMAP|IIXC_Inst::Page_CreateFromHBITMAP]]
 +
:[[PXV:IIXC_Inst_Page_CreateFromMemory|IIXC_Inst::Page_CreateFromMemory]]

Revision as of 05:56, 18 May 2015


The method creates new page with specified attributes (width, height, and format).

Syntax

HRESULT Page_CreateEmpty([in]           ULONG           Width,
                         [in]           ULONG           Height,
                         [in]           IXC_PageFormat  Format,
                         [in]           ULONG           defColor,
                         [out, retval]  IIXC_Page**     ppPage);

Parameters

Width
[in] Specifies the width of the new page.
Height
[in] Specifies the height of the new page.
Format
[in] Specifies internal format in which data will be stored into new page.
defColor
[in] Specifies color which will be used for filling entire page during creation.
ppPage
[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.

See Also

IIXC_Inst
IIXC_Page
IIXC_Page::ConvertToFormat
IIXC_Page::Format
IXC_PageFormat
IIXC_Inst::Page_CreateFromClipboard
IIXC_Inst::Page_CreateFromHBITMAP
IIXC_Inst::Page_CreateFromMemory