'Declaration
Public Function TwainSetImageLayout( _ ByVal Left As Double, _ ByVal Top As Double, _ ByVal Right As Double, _ ByVal Bottom As Double _ ) As Boolean
public function TwainSetImageLayout( Left: Double; Top: Double; Right: Double; Bottom: Double ): Boolean;
Parameters
- 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.
Return Value
True if success, else False -> Use TwainGetLastResultCode() and TwainGetLastConditionCode()
methods for diagnosing the error.