Accusoft TwainPRO 8
SetImageLayout Method
See Also  Send comments on this topic.
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
AccusoftTwainPro8 ActiveX DLL > TwainPro Object : SetImageLayout Method

Glossary Item Box

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

©2013. Accusoft Corporation. All Rights Reserved.