Italic Property (ACommonDialog)

Returns or sets the Italic style of the Font dialog.

Syntax

Object.Italic [ = bItalic ]

The Italic property syntax has the following parts:

 

Name

Type

Description

Object

ACommonDialog

ACommonDialog control

bItalic

Bool

A boolean expression that specifies whether the Font is Italic or not.

Where

bItalic can be one of the following:

 

Value

Description

True

The font style is Italic.

False *

The font style is not Italic.

Comments

To use this property, the acdlgFontOptionsEffects flag must be set for the FontOptions property.

Example

The following example will set the initial font style to be Italic:

cdlg1.Italic=True

Applies to

ACommonDialog

See Also

Bold, Font, Strikeout, Underline