IGxImage.VerticalResolution

Syntax

VerticalResolution: Double;

Description

The VerticalResolution property returns vertical resolution of the image in points per inch.

Example

Executing the example requires a form that contains a button named Button1 and the ImageBox component named ImageBox1. An image is loaded to the ImagBox1 component.

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

Var

Image: IGxImage;

vRes: Double;

Begin

Image := ImageBox1.Image;

vRes := Image.VerticalResolution;

End Sub Button1OnClick;

After executing the example on clicking the button the vRes variable contains vertical resolution of the image loaded to the ImageBox1 component.

See also:

IGxImage