ImageEn, unit histogrambox

THistogramBox.GetIEBitmap

THistogramBox.GetIEBitmap


Declaration

procedure GetIEBitmap(Dest: TIEBitmap; Width, Height: Integer; BorderWidth: Integer);


Description

Draws the histogram to a bitmap.
Dest will be resized to the specified size. BorderWidth specifies the width of the blank area (in pixels) around the histogram.


Example

bmp := TIEBitmap.Create();
HistogramBox1.UpdateFromBitmap( bmp, 1000, 800 );
bmp.SaveToFile( ChangeFileExt( Filename, '_Histogram.jpg' ));
bmp.Free;


See Also

IEDrawHistogramToBitmap