SystemImageListHelperGetIconAsBitmap(Int32, Size, Color, Boolean) Method |
Returns the requested image of the system image list as bitmap.
Namespace: Jam.ShellAssembly: ShellBrowser (in ShellBrowser.dll) Version: 7.2
Syntaxpublic 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 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
BitmapA bitmap of the requested icon.
See Also