CHMlib Logo Leading Translation Management System for Translation Agencies, Top Translation Management Software for Freelance Translators, Time Tracking Software, Word Count, Character Count and Line Count Software, Computer Assisted Translation Tool for Easy Word Count, Clipboard Character Count Software, User-Friendly Translation Memory Software, Terminology Management Software, Terminology Management Server, Microsoft Glossary Software, Dictionary of Acronyms, Social Network for Translators and Translation Agencies, Acronyms and Abbreviations Search Engine, Russian Translation Lab, Ukrainian Translation Lab.
You are reading help file online using chmlib.com
CrisisHelper - First Aid in Tough Times of World Economic Crisis


_bm0 Rave Reports Developer Reference

TBaseReport. Draw method

Top  Previous  Next

Declaration

procedure Draw(X,Y: double; Graphic: TGraphic);

 

Category

Graphics

 

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

If you want your help file to be removed or added please send e-mail to chmlibcom@gmail.com