ImageScaleHeight Property

Returns the height in pixels of the image as it is displayed.

Applies To

Image Edit control

Syntax

object.ImageScaleHeight

Data Type

OLE_YSIZE_PIXELS

Remarks

The Display method must be invoked prior to using this property.

The ImageScaleHeight property differs from the ImageHeight property. The ImageHeight property returns the height in full-size coordinates, while the ImageScaleHeight property value is affected by the current zoom factor.

The ImageScaleHeight and ImageHeight properties also differ for images with asymmetric resolutions. For example, when an 8½- by 11-inch image with a resolution of 200 by 100 dots per inch (dpi) is displayed, the ImageHeight property returns a value of 1100, while the ImageScaleHeight property returns a value of 2200 due to pixel replication that occurs at display-time to optimize display quality.

Available at run-time as read-only.

See Also

Display method

Image property

Image topics in Imaging Concepts

ImageHeight property

ImageResolutionX property

ImageResolutionY property

ImageScaleWidth property

Zoom property