setAspectRatioMax method of the ImageCaptureSettings interface

Sets the upper limit of document's aspect ratio.

This method is used in pair with the setAspectRatioMin, defining an interval of acceptable aspect ratio values of the document to be captured. Setting aspect ratio will help to improve boundary detection accuracy.

If only lower limit is set, upper limit will be set to infinity.

 Note: Aspect ratio is calculated by division of the upper limit to lower limit and is expected to be greater than or equal to 1 (or 0 if not set). By default aspect ratio is not set and is defined by DocumentSize.

@MainThread
void setAspectRatioMax( float maxValue );

Parameters

maxValue
The upper limit of document's aspect ratio.

3/2/2022 12:59:15 PM

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.