Skip to main content
This object represents a single “image plane” (black-and-white, gray, color or preview) of an open image. It gives a user access to properties of this “image plane,” such as its geometrical parameters and resolution.
In Windows , the Image object allows you to get a bitmap handle corresponding to this image.

Properties

NameTypeDescription
ApplicationEngine, read-onlyReturns the Engine object.
Heightint, read-onlyStores the height of the current image plane in pixels. The heights of the black-and-white, gray, and color image planes of an image are equal.
ImageColorTypeImageColorTypeEnum, read-onlySpecifies the color type for the current image plane (black-and-white, gray, color). <Note> By agreement on the ABBYY FineReader Engine API, if the ImageDocument object represents black-and-white image, an image plane received from IImageDocument::ColorImage property will actually be of black-and-white color type. This property provides information about actual color type of the current image plane. </Note>
Widthint, read-onlyStores the width of the current image plane in pixels. The widths of the black-and-white, gray, and color image planes of an image are equal.
XResolutionint, read-onlyStores the horizontal resolution of the current image plane in pixels per inch. The resolutions of the black-and-white, gray, and color image planes of an image are equal.
YResolutionint, read-onlyStores the vertical resolution of the current image plane in pixels per inch. The resolution of the black-and-white, gray, and color image planes of an image are equal.

Methods

NameDescription
EstimateBitmapSizeEstimates the size of the bitmap that will be returned by the GetBitmap method. <Note> Windows only. </Note>
GetBitmapReturns a handle of bitmap that corresponds to the current image plane. <Note> Windows only. </Note>
WriteToFileWrites the image of the current image plane into an image file.
Image Object Diagram

Input parameter

This object is the input parameter of the IMultipageImageWriter::AddPage method.

Samples

The object is used in the following code samples:

See also

ImageDocument Working with Images Working with Properties