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::GetBitmap method called with the same parameters. Thus, its input parameters are analogous to those of GetBitmap.
Syntax
C++
HRESULT EstimateBitmapSize(
IImageModification* Modification,
int* Result
);
C#
int EstimateBitmapSize( IImageModification Modification );
Visual Basic .NET
Function EstimateBitmapSize(Modification As IImageModification) As Integer
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 has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.
See also
17.09.2024 15:14:40