ShadowColor property (ILEADRasterFXD)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

OLE_COLOR ShadowColor

Overview

Refer to Drawing Three-Dimensional Shapes and Text.

Remarks

(Persistent property, available at design time) Specifies the color of a drop shadow that is applied to a three-dimensional shape or text object.

To have no drop shadow, set the ShadowXDepth and ShadowYDepth properties to 0.

For text objects, drop shadows are available only for the following TextStyle values:

FXD_TEXTSTYLE_DROPSHADOW
FXD_TEXTSTYLE_BLOCKSHADOW
FXD_TEXTSTYLE_OUTLINEBLOCK

For text objects, the shadow color is used for three-dimensional effects in the following TextStyle styles:

FXD_TEXTSTYLE_INSETHEAVY
FXD_TEXTSTYLE_INSETEXTRAHEAVY
FXD_TEXTSTYLE_RAISEDHEAVY
FXD_TEXTSTYLE_RAISEDEXTRAHEAVY

See Also

Elements:

DrawShape method, DrawText method

Topics:

Drawing Effects:3D Drawing Special Effects

 

Using Color Values in LEADTOOLS