Click or drag to resize

IconUtilitiesSaveAsIcon Method (Bitmap, String, IEnumerableInt32)

Saves a bitmap as a .ICO file, possibly in multiple sizes.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static void SaveAsIcon(
	Bitmap bitmap,
	string filePath,
	IEnumerable<int> sizes = null
)

Parameters

bitmap
Type: System.DrawingBitmap
The input bitmap.
filePath
Type: SystemString
The target .ICO file path.
sizes (Optional)
Type: System.Collections.GenericIEnumerableInt32
The multiple sizes.
See Also