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. TextRect method

Top  Previous  Next

Declaration

procedure TextRect( Rect: TRect; X,Y: double; const Text: string);

 

Category

Graphics

 

Description

This method will draw Text clipped within the rectangle defined by Rect. The point (X,Y) defines the starting point of the text. Use CreateRect to initialize Rect.

 

See also

TBaseReport Class, CreateRect, All print methods, TRect

 

Example (Delphi)

var   TxtRect: TRect;

     TxtXPos: double;

     TxtYPos: double;

         Txt: string;

begin

TxtRect := CreateRect(1.00,1.00,3.00,3.00);

TxtXPos := 0.95;

TxtYPos := 0.95;

Txt := 'Text is clipped off!';

TextRect(TxtRect, TxtXPos, TxtYPos, Txt);

end;

 

Example (C++Builder)

TRect TxtRect;

double TxtXPos;

double TxtYPos;

AnsiString Txt;

TxtRect = rp1->CreateRect(1.00,1.00,3.00,3.00);

TxtXPos = 0.95;

TxtYPos = 0.95;

Txt = "Text is clipped off!";

rp1->TextRect(TxtRect, TxtXPos, TxtYPos, Txt);



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