EstimateBitmapSize Method of the Image Object

Important! This method is not implemented.

This method estimates the size of memory that is to be allocated for the bitmap returned from the IImage::GetBitmap method called with the same parameters. Thus, its input parameters are analogous to those of GetBitmap.

Syntax

HRESULT EstimateBitmapSize(
  IImageModification* Modification,
  int*                Result
);
    

Parameters

Modification
[in] This parameter of the ImageModification type specifies 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 int variable that receives the return value of this method.

Return values

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

See also

ImageModification

IImage::GetBitmap

27.04.2022 8:30:37

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.