IGxIcon.Width

Syntax

Width: Integer;

Description

The Width property returns icon width in pixels.

Example

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

Icon: IGxIcon;

w: Integer;

Begin

Icon := Self.Icon;

w := Icon.Width;

End Sub Button1OnClick;

After executing the example on clicking the button the "w" variable contains the width of the form icon.

See also:

IGxIcon