ImageGear Professional DLL v18.1 for Windows
IG_TWAIN_source_close
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > TWAIN Component API Reference > TWAIN Component Functions Reference > Source Functions > IG_TWAIN_source_close

Glossary Item Box

This function closes the currently opened Data Source.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_TWAIN_source_close()

Arguments:

None

Return Value:

Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

When an application is finished with a Data Source, it must formally close the session between them using this function. This is necessary in case the Data Source only supports connection with a single application (many desktop scanners will behave this way). A Data Source such as this cannot be accessed by other applications until its current session is terminated.

©2014. Accusoft Corporation. All Rights Reserved.