ImageEn, unit histogrambox |
|
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.
bmp := TIEBitmap.Create();
HistogramBox1.UpdateFromBitmap( bmp, 1000, 800 );
bmp.SaveToFile( ChangeFileExt( Filename, '_Histogram.jpg' ));
bmp.Free;
See Also
◼IEDrawHistogramToBitmap