Click or drag to resize

StockIconGetStockBitmap Method (String, Color)

Gets a Winforms icon as a bitmap.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static Bitmap GetStockBitmap(
	string name,
	Color transparentColor
)

Parameters

name
Type: SystemString
The Winforms icon name.
transparentColor
Type: System.DrawingColor
The transparent color.

Return Value

Type: Bitmap
An instance of the Bitmap class.
Exceptions
ExceptionCondition
ArgumentNullExceptionname is null.
See Also