Click or drag to resize

SystemImageListHelperGetIconAsBitmap(Int32, Size, Color, Boolean) Method

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

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

Parameters

pIconNumber  Int32
The index of the requested icon in the system image list.
pSize  Size
The size of the bitmap that should be returned.
pFrameColor  Color
Specifies the color of the frame of the returned image. If null is passed, the images has no frame.
pStretch  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

Bitmap
A bitmap of the requested icon.
See Also