IWxStyle.ShadowBrushBackTransparent

Syntax

ShadowBrushBackTransparent: Integer;

Description

The ShadowBrushBackTransparent property determines transparency degree for shadow pattern. Available values should be within the range [0,100]. The 100 value corresponds to full transparency, the 0 value corresponds to full opaqueness.

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