![]() |
|
IconExtensions Methods | KGy SOFT Drawing Libraries Help |
The IconExtensions type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() |
Combine(Icon, Bitmap) | |
![]() ![]() |
Combine(Icon, Icon) | |
![]() ![]() |
Combine(Icon, Bitmap, Color) | |
![]() ![]() |
ExtractBitmap(Icon, Boolean) |
Extracts the first image from an Icon instance. If the icon has only one image consider to use
ToAlphaBitmap, which is faster.
|
![]() ![]() |
ExtractBitmap(Icon, Size, Boolean) |
Extracts the first image of specified size from an Icon instance.
|
![]() ![]() |
ExtractBitmap(Icon, Int32, Boolean) |
Extracts the image of specified index from an Icon instance.
|
![]() ![]() |
ExtractBitmap(Icon, Size, PixelFormat, Boolean) |
Extracts the image of specified size and pixel format from an Icon instance.
|
![]() ![]() |
ExtractBitmaps(Icon, Boolean) |
Extracts every image from an Icon instance.
|
![]() ![]() |
ExtractBitmaps(Icon, PixelFormat, Boolean) |
Extracts every image of specified pixel format from an Icon instance.
|
![]() ![]() |
ExtractBitmaps(Icon, Size, Boolean) |
Extracts every image of specified size from an Icon instance.
|
![]() ![]() |
ExtractIcon(Icon, Size) | |
![]() ![]() |
ExtractIcon(Icon, Int32) |
Extracts the icon of specified index from an Icon instance.
|
![]() ![]() |
ExtractIcon(Icon, Size, PixelFormat) | |
![]() ![]() |
ExtractIcons(Icon) |
Extracts every icon from an Icon instance as separated instances.
|
![]() ![]() |
ExtractIcons(Icon, PixelFormat) |
Extracts every icon of specified pixel format from an Icon instance as separated instances.
|
![]() ![]() |
ExtractIcons(Icon, Size) |
Extracts every icon of specified size from an Icon instance as separated instances.
|
![]() ![]() |
ExtractNearestBitmap |
Extracts the nearest image of specified size and pixel format from an Icon instance.
|
![]() ![]() |
ExtractNearestIcon | |
![]() ![]() |
GetImagesCount |
Gets the number of images in the icon.
|
![]() ![]() |
SaveHighQuality |
Saves the icon into the specified stream. Unlike Icon.Save, this method can save every icon with high quality, even
SystemIcons members, and icons created by the Icon.FromHandle method.
|
![]() ![]() |
ToAlphaBitmap |
Converts the specified icon to a Bitmap. While Icon.ToBitmap may return a wrong result
when icon contains semi-transparent pixels, this method returns an image, in which alpha channel
is always correctly applied for the image.
|
![]() ![]() |
ToCursorHandle |
Converts the provided icon to a CursorHandle, which can be passed to the
System.Windows.Forms.Cursor constructor
to create a new cursor.
|
![]() ![]() |
ToMultiResBitmap |
See Also