Font3D Property

Returns or sets the 3D effect when drawing text.

Syntax

Object.Font3D [ = enFont3D ]

The Font3D property syntax has the following parts:

 

Name

Type

Description

Object

A control or AForm

A control or AForm object

enFont3D

enumAFont3D

An integer specifying the style of 3D effect

Where

enumAFont3D can be one of the following:

 

Name

Value

Description

aNoShading

0*

No shading

aLtRaised

1

Raised with light shading.

aRaised

2

Raised with heavy shading.

aLtShaded

3

Inserted with light shading.

aShaded

4

Inserted with heavy shading.

Comments

The property is not applicable for MDI forms.

Example

The following statement changes the ACheckBox Font3D effect:

chk1.Font3D=aLtShaded

Applies to

 

AButton

ACheckBox

AGroupBox

ARadioButton

ASwitch

AChart

AForm

ALabel

ASlider

 

See Also

AFont, Font