ClearFontStyle Statement:
Clear font style. Cancel the font style set with SetFontBold, SetFontItalic and
etc
Sample: object.ClearFontStyle
This method cancels all font styles and sets the style to regular. You can use
the following methods to set font styles: SetFontBold, SetFontItalic,
SetFontRegular, SetFontStrikeout, SetFontUnderline. You can call these methods
one after one to draw text with a combination of styles. You can turn off
styles by calling appropriate methods with 0 as a parameter.
See also
SetFontStyle,ClearFontStyle,
TextOut,SetAlignText
More samples:
|