FontSizeMax Property (ACommonDialog)

Returns or sets the largest font size displayed in the Size list box.

Syntax

Object.FontSizeMax [ = lFontSizeMax ]

The FontSizeMax property syntax has the following parts:

 

Name

Type

Description

Object

ACommonDialog

ACommonDialog control

lFontSizeMax

Long

The largest font size displayed in the Size list box, in points.

Comments

The acdlgFontOptionsLimitSize for the FontOptions property must be set before using this property.

Example

The following example will set the FontSizeMax to 30 points:

cdlg1.FontSizeMax=30

Applies to

ACommonDialog

See Also

Font, FontName, FontOptions, FontSize, FontSizeMin