ASP Painter
Home
Home
Samples
Samples
Purchase
Purchase
Download
Download
Documentation
Documentation


ASPPainter ClearFontStyle

ClearFontStyle Statement:

Clear font style. Cancel the font style set with SetFontBold, SetFontItalic and etc

Object.ClearFontStyle

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:


Text
Antialias, Exist font, Font, Fonts, Rotate text, Style, Text gradient, Text in rectangle



home samples purchase documentation download