IGxIcon.Size

Syntax

Size: IGxSize;

Description

The Size property returns the object that contains icon sizes.

Example

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

Var

Icon: IGxIcon;

Size: IGxSize;

Begin

Icon := Self.Icon;

Size:=Icon.Size;

End Sub Button1OnClick;

After executing the example on clicking the button the Size variable contains the size of the form icon.

See also:

IGxIcon