Click or drag to resize

IMcTWAINAcquire Method

Acquires zero or more images from the currently selected TWAIN source.

Namespace:  MediaCy.IQL.Capture.Twain
Assembly:  MediaCy.IQL.Capture.Twain (in MediaCy.IQL.Capture.Twain.dll) Version: 10.0.6912.0
Syntax
VB
Function Acquire ( 
	Optional acqType As mcTWAINAcqType = mcTWAINAcqType.mctatDefault,
	Optional Flags As mcImageCreateFlags = mcImageCreateFlags.mcicfDefault
) As McImage

Parameters

acqType (Optional)
Type: MediaCy.IQL.Capture.TwainmcTWAINAcqType
Flags (Optional)
Type: MediaCy.IQL.EnginemcImageCreateFlags

Return Value

Type: McImage
Remarks
The Acquire function will display the currently selected TWAIN source's user interface, which will allow the user to select image characteristics and acquire images from the source. Acquire is usually invoked from an "Acquire..." menu item. The Acquire function can be set to acquire only a single image, or as many images as the user desires. The MultiAcquire property sets the default behavior for the Acquire function, which can be overridden by the corresponding parameter to the Acquire function. The valid settings are: mctatDefault - For use with the Acquire() function only, indicates that Acquire should respect the current setting of the MultiAcquire property mctatSingleAcquire - Acquire only a single image, closing the TWAIN source after the acquisition mctatMultipleAcquire - Acquire any number of images, leaving the TWAIN source open until the user closes it
See Also