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.
HRESULT EstimateBitmapSize( IImageModification* Modification, int* Result );
int EstimateBitmapSize( IImageModification Modification );
Visual Basic .NET
Function EstimateBitmapSize(Modification As IImageModification) As Integer
- [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."
- [out, retval] A pointer to int variable that receives the return value of this method.
This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.