Click or drag to resize

DeviceGetFrames Method

Returns an array containing the current frames set for a device.

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public RectangleF[] GetFrames()

Return Value

Type: RectangleF
An array of RectangleF representing the device frames.
Exceptions
ExceptionCondition
Thrown if a connection to the device is not open.
Thrown if there is a Twain error during processing.
Remarks

Some devices allow multiple areas of a document to be scanned and returned as separate images. This method returns all of the frames currently set to be acquired.

To specify multiple frames to acquire, use the SetFrames(RectangleF) method.

See Also