IGxImage.Height

Syntax

Height: Integer;

Description

The Height property returns image height in pixels.

Example

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

Var

Image: IGxImage;

i: Integer;

Begin

Image:=ImageBox1.Image;

i:=Image.Height;

End Sub Button1OnClick;

After executing the example on clicking the button the "i" variable contains height of the image in pixels, which is stored in the component named ImageBox1.

See also:

IGxImage