IIXC_Inst::Page_CreateFromHBITMAP Method

From PDF XChange PDF SDK
Revision as of 04:59, 18 May 2015 by Oliynykd (Talk | contribs)

Jump to: navigation, search


The method creates a page based on a handle of a Microsoft® Windows® Graphics Device Interface (GDI) bitmap and a handle of a GDI palette.

Syntax

HRESULT Page_CreateFromHBITMAP([in]           HANDLE_T     hBitmap,
                               [in]           HANDLE_T     hPalette,
                               [out, retval]  IIXC_Page**  ppPage);

Parameters

hBitmap
[in] Specifies the handle of the GDI bitmap.
hPalette
[in] Specifies the handle of the palette to be used. This parameter can be NULL.
ppPage
[out, retval] Pointer to the variable where the IIXC_Page of the 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_Inst::Page_CreateFromClipboard
IIXC_Inst::Page_CreateFromMemory
IIXC_Inst::Page_CreateEmpty