IWxStyle.ShadowBrushBackColor

Syntax

ShadowBrushBackColor: IGxColor;

Description

The ShadowBrushBackColor property determines color for shadow pattern.

Example

Executing the example requires that repository contains a workspace with the IWSTYLE identifier containing shape.

Add links to the Andy, Drawing, Metabase system assemblies.

Sub UserProc;
Var
    mb: IMetabase;
    ws: IWxWorkspace;
    Shape: IWxShape;
    Style: IWxStyle;
Begin
    // Get workspace for editing
    mb := MetabaseClass.Active;
    ws := mb.ItemById("IWSTYLE").Edit As IWxWorkspace;
    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;
    (ws As IMetabaseObject).Save;
End Sub UserProc;

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

See also:

IWxStyle