Click or drag to resize

ImageUtilitiesSaveAsIcon Method (Image, Stream, Int32)

Saves an image to an icon stream.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static void SaveAsIcon(
	Image image,
	Stream stream,
	int size
)

Parameters

image
Type: System.DrawingImage
The image.
stream
Type: System.IOStream
The target icon stream.
size
Type: SystemInt32
The size of the unique icon the icon stream will contain.
Exceptions
ExceptionCondition
ArgumentNullExceptionstream is null.
See Also