Returns the physical area (a rectangle) to be acquired during the next image transfer.
public Boolean TwainGetImageLayout( ref Double Left, ref Double Top, ref Double Right, ref Double Bottom );
Public Function TwainGetImageLayout( ByRef Left As Double, ByRef Top As Double, ByRef Right As Double, ByRef 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.
|