IconsCombine(Bitmap, Color) Method

Combines the provided images into a multi-resolution Icon instance.


Namespace: KGySoft.Drawing
Assembly: KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 8.1.0
public static Icon? Combine(
	Bitmap[]? images,
	Color[]? transparentColors


images  Bitmap
The images to be added to the icon. Images can be non-squares ones.
transparentColors  Color
An array of transparent colors of the images. The array must have as many elements as images.

Return Value

An Icon instance that contains every image of the source images.


The result Icon is compatible with Windows XP if the method is executed in a Windows XP environment.

The elements of images may contain multiple icons.

See Also