LinePenTransparent: Integer;
The LinePenTransparent property determines line transparency degree. Available values should be within the range [0,100]. The 100 value corresponds to full transparency, the 0 value corresponds to full opaqueness.
Executing the example requires an existing ws object of the IWxWorkspace type.
Sub UserProc;
Var
ws: IWxWorkspace;
Link: IWxLink;
Style: IWxStyle;
Begin
ws.BeginUpdate;
Link := ws.Shapes.Item(3) As IWxLink;
Style := Link.Style;
Style.LinePenColor := GxColor.FromName("Green");
Style.LinePenTransparent := 45;
ws.EndUpdate;
End Sub UserProc;
After executing the example green color and the set transparency degree are used for the line.
See also: