Contents
- Index
- Previous
- Next
SaveToBitmap method
Applies to
TProfGrid component
Declaration
function SaveToBitmap(ABitmap: TBitmap): Boolean;
Description
Saves an image of the entire grid to an application-provided bitmap.
The bitmap in turn can be saved or manipulated at will.
Example
procedure TForm1.ToolButton1Click(Sender: TObject);
var
B: TBitmap;
begin
B := TBitmap.Create;
try
ProfGrid1.SaveToBitmap(B);
B.SaveToFile('test.bmp')
finally
B.Free
end
end;