You are reading help file online using chmlib.com
|
Rave Reports Developer Reference TBaseReport. PrintBitmapRect method |
Top Previous Next |
Declaration procedure PrintBitmapRect(X1,Y1,X2,Y2: double; Bitmap: TBitmap);
Category
Description This method will draw Bitmap on the printer canvas stretched or shrunken to fit within the rectangle defined by the points (X1,Y1) and (X2,Y2).
See also TBaseReport Class, CalcGraphicHeight, CalcGraphicWidth, PrintBitmap, StretchDraw
Example (Delphi) Bitmap := TBitmap.Create; Bitmap.LoadFromFile('RpDEMO.BMP'); PrintBitmapRect(5.375,3.5,7.375,5.5,Bitmap); Bitmap.Free;
Example (C++Builder) TBitmap* Bitmap = new TBitmap(); Bitmap.LoadFromFile("RpDEMO.BMP"); rp1->PrintBitmapRect(5.375,3.5,7.375,5.5,Bitmap); delete Bitmap; |
You are reading help file online using chmlib.com
|