ImageEn, unit ietwain

TIETwainParams.FreeResources

TIETwainParams.FreeResources

Declaration

procedure FreeResources();

Description

ImageEn keeps the scanner driver open to improve scanning performance.

Call FreeResources to close and free the scanner driver after a call to Acquire method: this degrades performance but can improve stability.
Generally applications should not call FreeResources because it is executed when the application exits.

Example

ImageEnView1.IO.Acquire();
ImageEnView1.IO.TwainParams.FreeResources();

See Also

Acquire
Create