Click or drag to resize

SystemImageListHelper.GetIconAsBitmap Method (Int32, Size, Color, Boolean)

Returns the requested image of the system image list as bitmap.

Namespace:  Jam.Shell
Assembly:  ShellBrowser (in ShellBrowser.dll) Version: 7.1
Syntax
public Bitmap GetIconAsBitmap(
	int pIconNumber,
	Size pSize,
	Color pFrameColor,
	bool pStretch
)

Parameters

pIconNumber
Type: System.Int32
The index of the requested icon in the system image list.
pSize
Type: System.Drawing.Size
The size of the bitmap that should be returned.
pFrameColor
Type: System.Drawing.Color
Specifies the color of the frame of the returned image. If null is passed, the images has no frame.
pStretch
Type: System.Boolean
If true, the image from the image-list is scaled to fill the passed Size. If false, and the imagelist's dimensions are smaller than the passed size, the image is centered in the returned Bitmap.

Return Value

Type: Bitmap
A bitmap of the requested icon.
See Also