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