IWxStyle.ShadowBrushPattern

Syntax

ShadowBrushPattern: GxBrushPattern;

Description

The ShadowBrushPattern property determines a fill template for object shadow.

Example

Executing the example requires an existing ws object of the IWxWorkspace type.

Sub UserProc;

Var

ws: IWxWorkspace;

Shape: IWxShape;

Style: IWxStyle;

Begin

ws.BeginUpdate;

Shape := ws.Shapes.Item(0);

Style := Shape.Style;

Style.ShadowBrushForeColor := GxColor.FromName("Red");

Style.ShadowBrushForeTransparent := 50;

Style.ShadowBrushBackColor := GxColor.FromName("Blue");

Style.ShadowBrushBackTransparent := 10;

Style.ShadowBrushPattern := GxBrushPattern.Diagonals;

ws.EndUpdate;

End Sub UserProc;

After executing the example a shadow with the defined settings is displayed for the object.

See also:

IWxStyle