EstimateBitmapSize Method of the Image Object

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

Syntax

Visual Basic .NET

Function EstimateBitmapSize( _
  Modification As ImageModification, _
  Mode As Integer _
) As Integer
    

C++

HRESULT EstimateBitmapSize(
  ImageModification* Modification,
  int                Mode,
  int*               Result
);
    

Parameters

Modification
[in] This parameter of the ImageModification type specifies modifications that are performed upon image. 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".
Mode
[in] This parameter may be any combination of GetPictureFlags flags or contain 0.
Result
[out, retval] A pointer to an int variable that receives the return value of this method. Must not be NULL.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.

See also

Image

IImage::GetPicture

15.08.2023 13:19:30

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.