Font Property (ILEADRasterTextEfx)

Visual Basic example

Visual C++ example

 

Syntax

IFontDisp *Font;

Overview

Refer to Using Imaging Common Dialogs

Remarks

Gets or sets the font of the text in the Text dialog box. The Font 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

ShowTextDlg method, UIFlags property