IconsCombine(Bitmap, Color) Method

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

Definition

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

Parameters

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

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

Remarks

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