IWxStyle.PictureTransparent

Syntax

PictureTransparent: Integer;

Description

The PictureTransparent property determines image transparency as a percentage.

Example

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

Sub User;

Var

Ws : IWxWorkspace;

shape : IWxShape;

style : IWxStyle;

Begin

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

Shape.Picture := GxImage.FromFile("c:\1.bmp");

Style := Shape.Style;

Style.PictureTransparent := 50;

End Sub User;

After executing the example image transparency is set.

See also:

IWxStyle