You are reading help file online using chmlib.com
|
Rave Reports Developer Reference TBaseReport. CreateFont method |
Top Previous Next |
Declaration function CreateFont(NewName: string; NewSize: integer): TFont;
Category
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
|