Accusoft.TwainPro8.Net
Specify Image Layout
See Also Send Feedback
TwainPRO 8 for .NET - User Guide > How To > Acquire Images and Image Information > Specify Image Layout

Glossary Item Box

The desired layout for scanned images can be specified prior to initiating a scanning session, by setting the TwainDevice.ImageLayout property. The ImageLayout rectangle defines what portion of the Data Source's scanning area is acquired.  

It is also a good idea to set the ICAP_UNITS capability for the scanner prior to using the ImageLayout method to specify the unit of measure you'll be using.
C# Example Copy Code
// This code demonstrates how to set the Image Layout rectangle to 6.5 inches X 9 inches
twainDevice.ImageLayout = new RectangleF(1, 1, 6.5F, 9); 
ImageLayout can only be modified, or set, prior to initiating the scanning session (StartSession) and after opening a session (OpenSession).

See Also

©2013. Accusoft Corporation. All Rights Reserved.