Available in the LEADTOOLS Imaging toolkit. |
ShadowColor property (Main Control)
Visual Basic
example
Visual C++ 4.0 example
Visual J++ 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:
EFX_TEXTSTYLE_DROPSHADOW
EFX_TEXTSTYLE_BLOCKSHADOW
EFX_TEXTSTYLE_OUTLINEBLOCK
For text objects, the shadow color is used for three-dimensional effects in the following TextStyle styles:
EFX_TEXTSTYLE_INSETHEAVY
EFX_TEXTSTYLE_INSETEXTRAHEAVY
EFX_TEXTSTYLE_RAISEDHEAVY
EFX_TEXTSTYLE_RAISEDEXTRAHEAVY
See Also
Elements: DrawShape method, DrawText method
Topics: Raster
Images: Drawing on a Bitmap
Working with the Control: Client Area Usage