THPDFPage.SetFont Method
HotPDF Delphi PDF Component Developer Guide loslab Logo

 

THPDFPage.SetFont

THPDFPage

 

Top  Previous  Next

Sets the current font.

 

Delphi syntax:

procedure SetFont ( FontName: AnsiString; FontStyle: TFontStyles; ASize: Single; FontCharset: TFontCharset = ANSI_CHARSET; IsVertiacal: Boolean);

 

C++ syntax:

void __fastcall SetFont ( AnsiString FontName, Graphics::TFontStyles FontStyle, float ASize, Graphics::TFontCharset FontCharset; IsVertiacal: Boolean);

 

 

Description:

Method SetFont sets the current font for text. FontStyle describe slyte of the font and containing zero or more values. ASize value defines size of the font.

 

Example

 

See also: TextOut, UnicodeTextOut.

Copyright©2007-2019 losLab.com