IconsCombine Method (Boolean, IEnumerableBitmap)

KGy SOFT Drawing Libraries Help
Combines the provided images into a multi-resolution Icon instance.

Namespace:  KGySoft.Drawing
Assembly:  KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 5.1.0
Syntax

public static Icon Combine(
	bool forceUncompressedResult,
	IEnumerable<Bitmap> images
)

Parameters

forceUncompressedResult
Type: SystemBoolean
 to force returning an uncompressed icon;  to allow PNG compression, which is supported by Windows Vista and above.
images
Type: System.Collections.GenericIEnumerableBitmap
The images to be added to the result icon. Images can be non-squared ones. Transparency is determined automatically by image format.

Return Value

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

The elements of images may contain multiple icons.

See Also

Reference