Accusoft TwainPRO 9
GetImageLayout Method
Floating point number for the Left side of the Image Layout rectangle.
Floating point number for the Top side of the Image Layout rectangle.
Floating point number for the Right side of the Image Layout rectangle.
Floating point number for the Bottom side of the Image Layout rectangle.
Description
Gets the Left, Top, Right, and Bottom sides of the Image Layout rectangle for the current Data Source.
Syntax
Visual Basic
Public Sub GetImageLayout( _
   ByRef ImageLeft As Single, _
   Optional ByRef ImageTop As Variant, _
   Optional ByRef ImageRight As Variant, _
   Optional ByRef ImageBottom As Variant _
) 
Parameters
ImageLeft
Floating point number for the Left side of the Image Layout rectangle.
ImageTop
Floating point number for the Top side of the Image Layout rectangle.
ImageRight
Floating point number for the Right side of the Image Layout rectangle.
ImageBottom
Floating point number for the Bottom side of the Image Layout rectangle.
Remarks

The Image Layout rectangle defines what portion of the Data Source's scanning area is acquired.

Call this method after OpenSession and before StartSession.

See Also

TwainPro Object  | TwainPro Members  | StartSession Method  | OpenSession Method

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback