Click or drag to resize

IconUtilitiesSaveAsIcon Method (Bitmap, Stream, IEnumerableInt32)

Saves a bitmap as a .ICO stream, 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,
	Stream stream,
	IEnumerable<int> sizes = null
)

Parameters

bitmap
Type: System.DrawingBitmap
The input bitmap.
stream
Type: System.IOStream
The target stream
sizes (Optional)
Type: System.Collections.GenericIEnumerableInt32
The optional multiple sizes.
See Also