Chinese Simplified (简体中文)

GetBitmap Method of the Image Object

Important! This method is not implemented.

This method returns a part of the image as a top-down DIB (Device-Independent Bitmap). The palette, where 0 is the black color, is used for gray and black-and-white images.

The method returns the DIB as the Handle object. This object manages memory allocation and releases resources when they are no longer in use.

Note: This method supports only 24-bit bitmap images.

Syntax

HRESULT GetBitmap(
  IImageModification* Modification,
  IHandle**           Result
);
    

Parameters

Modification
[in] This parameter of type ImageModification defines modifications that are performed upon image. It may include clipping rectangles, in which case only specified parts of the image are passed, stretch ratio, painting rectangles for filling up parts of the image with color and so on. This parameter may be 0, and in this case no modifications will be performed upon the image page and it will be passed "as is."
Result
[out, retval] A pointer to IHandle* pointer variable that receives interface pointer of the resulting Handle object representing the handle to the associated bitmap.

Return values

This method returns E_NOTIMPL. See details in the standard return values of ABBYY FineReader Engine functions.

Remarks

This method does not work if the Engine object is loaded as an out-of-process server.

See also

ImageModification

IImage::EstimateBitmapSize

7/3/2024 8:50:25 AM

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.