ShellBrowser Delphi Edition Documentation
ContentsIndexHome
PreviousUpNext
TJamSystemImageList.GetIconAsBitmap Method

Returns a bitmap showing the icon for a given icon number.

Syntax
Pascal
function GetIconAsBitmap(aHeigth: Integer; aWidth: Integer; aIconNumber: Integer; BorderColor: TColor = clSilver; BackgroundColor: TColor = clNone): TBitmap;
Parameters 
Description 
BorderColor: TColor = clSilver 
Specifies the color of the border of the bitmap 
BackgroundColor: TColor = clNone 
Specifies the color of the background of the bitmap 

This method returns a bitmap of the icon in the given sizes for the passed icon number. A frame with a width of 1 pixel will be drawn as a border around the bitmap in the color specified by the parameter BorderColor. The background color of the bitmap can be specified by the optional parameter BackgroundColor.

Copyright (c) 2011. All rights reserved.