You are reading help file online using chmlib.com
|
Rave Reports Developer Reference TBaseReport. Draw method |
Top Previous Next |
Declaration procedure Draw(X,Y: double; Graphic: TGraphic);
Category
Description This method draws Graphic to the printer canvas at the location (X,Y).
NOTE: Do not use Draw for bitmaps. Use PrintBitmap or PrintBitmapRect instead.
See also TBaseReport Class, PrintBitmap, PrintBitmapRect, StretchDraw, TGraphic
Example (Delphi) var MyLogo: TGraphic; begin MyLogo := TMetafile.Create; try MyLogo.LoadFromFile('MYLOGO.WMF'); RvNDRWriter1.Draw(1.0,2.0,MyLogo); finally MyLogo.Free; end; { tryf } end;
Example (C++Builder) TGraphic* MyLogo; MyLogo = new TMetafile(); try { MyLogo->LoadFromFile("MYLOGO.WMF"); RvNDRWriter1->Draw(1.0,2.0,MyLogo); } __finally { delete MyLogo; }/ tryf |
You are reading help file online using chmlib.com
|