Returns or sets the Italic style of the Font dialog.
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. |
bItalic can be one of the following:
Value |
Description |
True |
The font style is Italic. |
False * |
The font style is not Italic. |
To use this property, the acdlgFontOptionsEffects flag must be set for the FontOptions property.
The following example will set the initial font style to be Italic:
cdlg1.Italic=True