IconsCombine(Boolean, IEnumerableIcon) Method

Combines the provided icons 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(
	bool forceUncompressedResult,
	IEnumerable<Icon>? icons
)

Parameters

forceUncompressedResult  Boolean
to force returning an uncompressed icon; to allow PNG compression, which is supported by Windows Vista and above.
icons  IEnumerableIcon
The icons to be combined.

Return Value

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

Remarks

The elements of icons may contain multiple icons.

See Also