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. TruncateText property

Top  Previous  Next
Declaration
function TruncateText(Value: String; Width: Double): String;

 

Category

 

Description
This property calculates the width of the string "Value" using the current font. If the text is wider than the Width parameter then it will be truncated by characters to fit.

 

See also

 

Example (Delphi)
RvNDRWriter1.SetFont( 'Arial', 14 );
TruncateText('This text is too long to fit within 2 inches', 2.0);

 

Example (C++Builder)
RvNDRWriter1->SetFont( "Arial", 14 );
TruncateText("This text is too long to fit within 2 inches", 2.0);



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