Home > comp > gb.qt > font 
  [3.0]
 fr de es it nl pl pt pt_BR mk sq ca ar fa vi ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration  
Documentation
History
 
Font (gb.qt)
This class 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 object from the Control.Font property keeps a link to the control it comes from, so that modifying this font object modifies the font used for drawing the control.

Examples

' 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"]