IGxImage.Size

Syntax

Size: IGxSize;

Description

The Size property returns image size in pixels.

Example

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

Var

Image: IGxImage;

Size: IGxSize;

Begin

Image := ImageBox1.Image;

Size := Image.Size;

End Sub Button1OnClick;

After executing the example on clicking the button the Size variable contains image size in pixels.

See also:

IGxImage