This object provides access to the handle of a resource in memory. It is returned by some methods which provide access to a bitmap image or a memory block. The object manages memory allocation and allows you to avoid memory leaks while working with these resources. The object is used in the following situations:Documentation Index
Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
Use this file to discover all available pages before exploring further.
- If you plan to work with the resource outside FineReader Engine
- If you plan to pass the resource to other methods of FineReader Engine
Properties
| Name | Type | Description |
|---|---|---|
| Application | Engine, read-only | Returns the Engine object. |
| Handle | HANDLE\*, read-only | Returns the handle of the resource. You can obtain the handle via this property and work with the resource. |
| HandleAsInt64 | \_\_int64, read-only | Returns the handle of the resource as \_\_int64. You can pass the return value of this property to a method of FineReader Engine as an input parameter. |
Methods
| Name | Description |
|---|---|
| CloseHandle | Releases the resource. |
| Detach | Returns the handle and detaches the object from it. |
Output parameter
This object is the output parameter of the following methods:- GetBitmap method of the Image object
- SaveToMemory method of a number of objects (Windows)
Samples
C# code
C# code
