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

Top  Previous  Next

Declaration

function CreateFont(NewName: string; NewSize: integer): TFont;

 

Category

Font

 

Description

This method will create a TFont object for the given parameters. NewSize is the point size of the font (1/72nds of an inch). You can assign this font to the canvas to change the current font.

 

NOTE:

The font object returned must be released by calling the free method of TFont. Also, it is preferable to use SaveFont and RestoreFont.

 

See also

TBaseReport Class, RestoreFont, SaveFont, SetFont, TFont

 

Example (Delphi)

var MyFont: TFont;

begin

MyFont := CreateFont('Times New Roman',8.00);

end;

 

Example (C++Builder)

TFont* MyFont;

MyFont = rp1->CreateFont("Times New Roman",8.00);



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