Accusoft TwainPRO 9
SetImageLayout 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
Sets the Left, Top, Right, and Bottom sides of the Image Layout rectangle for the current Data Source.
Syntax
Visual Basic
Public Sub SetImageLayout( _
   ByVal ImageLeft As Single, _
   Optional ByVal ImageTop As Variant, _
   Optional ByVal ImageRight As Variant, _
   Optional ByVal 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  | OpenSession Method

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback