'Declaration
Public Function TwainGetImageLayout( _ ByRef Left As Double, _ ByRef Top As Double, _ ByRef Right As Double, _ ByRef Bottom As Double _ ) As Boolean
public bool TwainGetImageLayout( ref double Left, ref double Top, ref double Right, ref double Bottom )
public function TwainGetImageLayout( var Left: Double; var Top: Double; var Right: Double; var Bottom: Double ): Boolean;
public function TwainGetImageLayout( 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.