Upravit

Sdílet prostřednictvím


Bitmap::Bitmap(HICON) method (gdiplusheaders.h)

Creates a Bitmap object based on an icon.

Syntax

void Bitmap(
  [in] HICON hicon
);

Parameters

[in] hicon

Type: HICON

Handle to a GDI icon.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header gdiplusheaders.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

Bitmap

Bitmap Constructors

Bitmap::FromHICON

Image

Images, Bitmaps, and Metafiles

Using Images, Bitmaps, and Metafiles