IIXC_Inst::Page_CreateFromHBITMAP Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IIXC_Inst::Page_CreateFromHBITMAP Method}} | {{#customTitle:IIXC_Inst::Page_CreateFromHBITMAP Method}} | ||
− | {{#parentPage:PXV:IIXC_Inst#Methods|Page_CreateFromHBITMAP | + | {{#parentPage:PXV:IIXC_Inst#Methods|Page_CreateFromHBITMAP|method}} |
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. | 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. | ||
Line 9: | Line 9: | ||
<pre class="brush:cpp;gutter:false">HRESULT Page_CreateFromHBITMAP([in] HANDLE_T hBitmap, | <pre class="brush:cpp;gutter:false">HRESULT Page_CreateFromHBITMAP([in] HANDLE_T hBitmap, | ||
[in] HANDLE_T hPalette, | [in] HANDLE_T hPalette, | ||
− | [out, retval] IIXC_Page** | + | [out, retval] IIXC_Page** pPage);</pre> |
== Parameters == | == Parameters == | ||
Line 16: | Line 16: | ||
;hPalette | ;hPalette | ||
:[in] Specifies the handle of the palette to be used. This parameter can be NULL. | :[in] Specifies the handle of the palette to be used. This parameter can be NULL. | ||
− | ; | + | ;pPage |
:[out, retval] Pointer to the variable where the [[PXV:IIXC_Page|IIXC_Page]] of the created page will be stored. | :[out, retval] Pointer to the variable where the [[PXV:IIXC_Page|IIXC_Page]] of the created page will be stored. | ||
Line 23: | Line 23: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IIXC_Inst|IIXC_Inst]] | |
− | + | ||
− | + | ||
− | + | ||
− | + |
Latest revision as of 02:16, 15 June 2015
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** pPage);
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.
- pPage
- [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.