Italic Property (AFont)

Returns or sets a value that determines whether or not the font is italicized.

Syntax

Object.Italic [ = bItalic ]

The Italic property syntax has the following parts:

 

Name

Type

Description

Object

AFont

AFont object

bItalic

Bool

A boolean expression that specifies whether or not the font is italicized.

Where

bItalic can be one of the following:

 

Value

Description

True

The font is italicized.

False *

The font is not italicized.

Example

The following statement changes the font of the caption property of a button object to be Italic:

btn1.font.Italic=True

The following statement changes the font of a declared variable m_font1 of type font to be Italic:

m_font1.Italic=True

Applies to

AFont

See Also

Bold, Size, Strikethrough, Underline, Weight