Dynamsoft Home|Product Home

GetDefaultImageLayout Method

Description

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

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()