ImageResolutionX Property

Example-VB Example-VC++

Returns or sets the horizontal resolution of the image being displayed.

Available With

Ö Imaging for Windows Professional Edition V1.0, V1.1, and V2.0
Ö Imaging for Windows 95 and 98
Ö Imaging for Windows NT 4.0

Applies To

Image Edit control

Syntax

object.ImageResolutionX[=value]

Data Type

Long

Remarks

When the AutoRefresh property is set to True, changing the ImageResolutionX property causes the displayed image to be refreshed automatically.

Changing the setting of the ImageResolutionX property sets the ImageModified property to True.

If an image is not being displayed, the ImageResolutionX property returns or sets the horizontal resolution of the image specified in the Image property.

If an image is not being displayed and the Image property does not contain the name of an image, the ImageResolutionX property generates an error.

Available at run-time as read-and-write.