ShellBrowser .Net Edition
GetIconAsBitmap Method (IconNumber, p_Size, FrameColor, p_ExtraLarge)
NamespacesJam.ShellSystemImageListHelperGetIconAsBitmap(Int32, Size, Color, Boolean)
Returns the requested image of the system image list as bitmap.
Declaration Syntax
C#Visual BasicVisual C++
public Bitmap GetIconAsBitmap(
	int IconNumber,
	Size p_Size,
	Color FrameColor,
	bool p_ExtraLarge
)
Public Function GetIconAsBitmap ( _
	IconNumber As Integer, _
	p_Size As Size, _
	FrameColor As Color, _
	p_ExtraLarge As Boolean _
) As Bitmap
public:
Bitmap^ GetIconAsBitmap(
	int IconNumber, 
	Size p_Size, 
	Color FrameColor, 
	bool p_ExtraLarge
)
Parameters
IconNumber (Int32)
The index of the requested icon in the system image list.
p_Size (Size)
The size of the bitmap that should be returned.
FrameColor (Color)
Specifies the color of the frame of the returned image. If null is passed, the images has no frame.
p_ExtraLarge (Boolean)
Get extra large icons in Windows Vista
Return Value
A bitmap of the requested icon.
See Also

Assembly: ShellBrowser (Module: ShellBrowser) Version: 4.2.1.45 (4.2.1.45)