Height: Integer;
The Height property returns icon height in pixels.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Icon: IGxIcon;
h: Integer;
Begin
Icon := Self.Icon;
h := Icon.Height;
End Sub Button1OnClick;
After executing the example on clicking the button the "i" variable contains the height of the form icon.
See also: