Specifies the physical area (a rectangle) to be acquired during the next image transfer.
public Boolean TwainSetImageLayout( Double Left, Double Top, Double Right, Double Bottom );
Public Function TwainSetImageLayout( ByVal Left As Double, ByVal Top As Double, ByVal Right As Double, ByVal Bottom As Double ) As Boolean
|
Parameters |
Description |
|
Left |
Value of the left-most edge of the area to scan measured in inches. |
|
Top |
Value of the top-most edge of the area to scan measured in inches. |
|
Right |
Value of the right-most edge of the area to scan measured in inches. Note: ImageWidth = Right - Left. |
|
Bottom |
Value of the bottom-most edge of the area to scan measured in inches. Note: ImageHeight = Bottom - Top. |
True if success, else False -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() functions for diagnosing the error.
Before using this function check that the TWAIN state is 4 (TWAIN_SOURCE_OPEN)
To get the TWAIN state, use the TwainGetState() function.
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|