SystemImageListHelperGetIconAsBitmap 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
)
Public Function GetIconAsBitmap (
pIconNumber As Integer,
pSize As Size,
pFrameColor As Color,
pStretch As Boolean
) As Bitmap
public:
Bitmap^ GetIconAsBitmap(
int pIconNumber,
Size pSize,
Color pFrameColor,
bool pStretch
)
member GetIconAsBitmap :
pIconNumber : int *
pSize : Size *
pFrameColor : Color *
pStretch : bool -> Bitmap
Parameters
- pIconNumber
- Type: SystemInt32
The index of the requested icon in the system image list. - pSize
- Type: System.DrawingSize
The size of the bitmap that should be returned. - pFrameColor
- Type: System.DrawingColor
Specifies the color of the frame of the returned image. If null is passed, the images has no frame. - pStretch
- Type: SystemBoolean
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:
BitmapA bitmap of the requested icon.
See Also