Click or drag to resize

StockIconGetStockBitmap Method (String, Color)

Gets a Winforms icon as a bitmap.

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