BitmapToImage Method of the ImageProcessingTools Object

This method converts the specified bitmap to the Image object.

Syntax

C++

HRESULT BitmapToImage(
  __int64   HBitmap,
  int       Resolution,
  IImage**  Result
);
    

C#

Image BitmapToImage(
  Int64  HBitmap ,
  int    Resolution
);
    

Visual Basic .NET

Function BitmapToImage( _
  HBitmap As Int64, _
  Resolution As Integer _
) As Image
    

Parameters

HBitmap
[in] This variable contains the handle of the GDI object (HBITMAP). The handle is passed as __int64. This handle should be available to the process that operates ABBYY FlexiCapture SDK.
Resolution
[in] Specifies resolution of the bitmap image.
Result
[out, retval] A pointer to the IImage* pointer variable that provides access to the internal image plane.

Return values

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

See also

ImageProcessingTools

8/15/2023 1:19:30 PM

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.