IIXC_Inst::Page_CreateFromHBITMAP Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 7: Line 7:
  
 
== Syntax ==
 
== Syntax ==
<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    nBitmap,
                               [in]          HANDLE_T    hPalette,
+
                               [in]          HANDLE_T    nPalette,
                               [out, retval]  IIXC_Page**  ppPage);</pre>
+
                               [out, retval]  IIXC_Page**  pPage);</pre>
  
 
== Parameters ==
 
== Parameters ==
;hBitmap
+
;nBitmap
 
:[in]  Specifies the handle of the GDI bitmap.
 
:[in]  Specifies the handle of the GDI bitmap.
;hPalette
+
;nPalette
 
:[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.
;ppPage
+
;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.
  

Revision as of 02:07, 4 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     nBitmap,
                               [in]           HANDLE_T     nPalette,
                               [out, retval]  IIXC_Page**  pPage);

Parameters

nBitmap
[in] Specifies the handle of the GDI bitmap.
nPalette
[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.

See Also

IIXC_Inst