Click or drag to resize

ImageUtilitiesSaveAsIcon Method (Image, String, Int32)

Saves an image to an icon file.

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

Parameters

image
Type: System.DrawingImage
The image.
filePath
Type: SystemString
The target icon file path.
size
Type: SystemInt32
The size of the unique icon the icon file will contain.
Exceptions
ExceptionCondition
ArgumentNullExceptionfilePath is null.
See Also