Click or drag to resize

Device.GetFrames Method

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

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.5.0.0.0.156 (.NET 4.6.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