Inheritance diagram for FontEx:
Properties | |
VARIANT_BOOL RW | Italic [] |
Specifies that the font is an italic font. | |
VARIANT_BOOL RW | Underline [] |
Specifies that the font is an underlined font. | |
VARIANT_BOOL RW | Strikethrough [] |
Specifies that the font is an strikeout font. | |
VARIANT_BOOL RW | Bold [] |
Specifies that the font is an bold font. | |
SHORT RW | Weight [] |
Specifies the weight of the font. | |
BSTR RW | Name [] |
Specifies the name of the font. | |
CY RW | Size [] |
Specifies the size of the font. | |
SHORT RW | CharSet [] |
Specifies the charset of the font. | |
LONG RW | Angle [] |
Specifies the angle, that used for drawing text. |
Example:
o = new ActiveXObject("Scripting.WindowSystemObject") o.EnableVisualStyles = true f = o.CreateForm(0,0,0,0) f.Text = "WSO" f.ClientWidth = 200 f.ClientHeight = 100 f.CenterControl() Text = f.TextOut(10,10,"Test Message") with (Text.Font) { Bold = true Name = "Arial Black" Size = 14 Color = 0x000000FF Bold = true Italic = true Angle = 5 } f.Show() o.Run()
LONG RW Angle |
Specifies the angle, that used for drawing text.
Default value 0.
VARIANT_BOOL RW Bold |
Specifies that the font is an bold font.
SHORT RW CharSet |
Specifies the charset of the font.
This parameter can be a one of the following values:
VARIANT_BOOL RW Italic |
Specifies that the font is an italic font.
BSTR RW Name |
Specifies the name of the font.
CY RW Size |
Specifies the size of the font.
VARIANT_BOOL RW Strikethrough |
Specifies that the font is an strikeout font.
VARIANT_BOOL RW Underline |
Specifies that the font is an underlined font.
SHORT RW Weight |
Specifies the weight of the font.
The property value must be in the range 0 through 1000.