Skip to main content
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.
This interface does not support automation. This means that it does not work in Linux and Windows if FineReader Engine is loaded as an out-of-process server.
The object is used in the following situations:
  • If you plan to work with the resource outside FineReader Engine
You can get the handle of the resource via the Handle property and work with it. In this case, if you release the Handle object, the resource is released too. Or you can get the handle and detach Handle object from it (use the Detach method). In this case, you are responsible for releasing the resource.
  • If you plan to pass the resource to other methods of FineReader Engine
You can get the handle of the resource as __int64 via the HandleAsInt64 property. Later you can pass the value of this property to a method of FineReader Engine that requires it. If you release the Handle object, the resource is released too. You can release the resource manually by calling CloseHandle method.

Properties

Methods

Output parameter

This object is the output parameter of the following methods:

Samples

The object is used in the following Windows demo tools: Engine Predefined Processing Profiles.

See also

Working with Properties