FontName Property (ACommonDialog)

Returns or sets the font name of the Font dialog.

Syntax

Object.FontName [ = sFontName ]

The FontName property syntax has the following parts:

 

Name

Type

Description

Object

ACommonDialog

ACommonDialog control

sFontName

BString

The name of the font of the Font dialog.

Example

The following example will set the initial FontName to "Arial":

cdlg1.FontName="Arial"

Applies to

ACommonDialog

See Also

Font, FontOptions, FontSize, FontSizeMax, FontSizeMin