TWAIN ActiveX/Plug-in Windows/Mac HTTP Control/SDK

GetDefaultImageLayout Method

Description

Retrieves the left, top, right, and bottom sides of the current Data Source's default image layout rectangle.

Support information

ActiveX Edition Plug-in Edition Mac Edition
Since V4.0 Since V4.0 Since V6.4

Syntax

Boolean ObjectName. GetDefaultImageLayout(Float *pLeft,  Float *pTop, Float *pRight, Float *pBottom)

Parameters

Float *pLeft: the floating point number for the left side of the default image layout rectangle. 

Float *pTop: the floating point number for the top side of the default image layout rectangle. 

Float *pRight: the floating point number for the right side of the default image layout rectangle. 

Float *pBottom: the floating point number for the bottom side of the default  image layout rectangle. 

Return value

Boolean.

TRUE indicates success. FALSE indicates failure.

When an error occurs and IfThrowException property is TRUE, an exception will be thrown.

When FALSE is returned or an exception is thrown, check ErrorCode property and ErrorString property for error information.

Remarks

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

See also

GetImageLayout(), ResetImageLayout(), SetImageLayout()

 

 

 




TWAIN ActiveX | TWAIN Plug-in | TWAIN Control | TWAIN SDK | Scanner COM
Software Configuration Management | Version Control | Source Control
Copyright © 2012 Dynamsoft Corporation. All Rights Reserved.