Dynamsoft Home|Product Home

ImageXResolution Property

Description

Returns the X resolution of the current image. X resolution is the number of pixels per ICAP_UNITS in the horizontal direction. This is a runtime, read-only property.

Data type

Single (float)

Syntax

ObjectName. ImageXResolution

Remarks

The unit of ImageXResolution property is determined by ICAP_UNITS capability.

The default unit is assumed to be "inches" unless it has been otherwise negotiated between the application and source.

ImageXResolution property, along with other properties about the current image information, is valid only in OnPreTransfer and OnPostTransfer event.

When an error occurs and IfThrowException property is TRUE, an exception will be thrown. Check ErrorCode property and ErrorString property for error information.

See also

ImageBitsPerPixel property, ImageLength property, ImagePixelType property, ImageWidth property, ImageYResolution property