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.


Visual Basic .NET

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


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


[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".
[in] This parameter may be any combination of GetPictureFlags flags or contain 0.
[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



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.