Home > comp > gb.qt > font 
 en fr de es it nl pl pt pt_BR mk ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
Font (gb.qt)
This Klasë represents a font used for drawing or displaying text in controls.

Symbols
This class is creatable.
This class acts like a read-only array.

Properties  Methods 
Ascent  Bold  Descent  Fixed  Grade  Italic  Name  Scalable  Size  StrikeOut  Styles  Underline    Height  ToString  Width   

The font Objekti from the Control.Font property keeps a link to the control it comes from, so that modifying this font Objekti modifies the font used for drawing the control.

Example

' Set the font used by MyTextBox for displaying its text
MyTextBox.Font.Name = "Utopia"

' Set the font used by MyTextBox for displaying its text from a string containing the font values
MyTextBox.Font = Font["Arial, 12, bold"]