DlgFont Property (ILEADRasterDlgKrn)

Visual Basic example

Visual C++ example

 

Syntax

IFontDisp *DlgFont;

Overview

Refer to Using Imaging Common Dialogs

Remarks

Gets or sets font to be used in the LEADTOOLS Common Dialogs.

The DlgFont object has the following properties:

Property

Description

Bold

TRUE for bold text; FALSE for not bold.

Italic

TRUE for italic text; FALSE for not italic.

Name

Text string for name of the font. For example: "Times New Roman".

Size

Size of the font, in points. The maximum value s 2048 points.

StrikeThrough

TRUE for a line through the text; FALSE for no line.

Underline

TRUE for underlined text; FALSE for not underlined.

Weight

Possible runtime values are 400 for light and 700 for heavy.

See Also

Elements

InitDlg method, FreeDlg method, SetDlgString method, GetDlgString method