Click or drag to resize

IconUtilitiesSaveAsIcon Method (Bitmap, String, IEnumerableInt32)

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

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.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