initWithAspectRatio: method of the AUIAreaOfInterest interface

Returns a new instance of the AUIAreaOfInterest interface with set aspect ratio. The aspect ratio is counted by division of the document's width to its height.

In case the end-user changes a camera orientation during capture, the area of interest, set by this method, will be inverted. To save the area of interest unchanged, use the areaOfInterestWithPortraitAspectRatio: method.

- (AUIAreaOfInterest*)initWithAspectRatio:(CGFloat)aspectRatio;

Parameters

aspectRatio
The aspect ratio value of the area of interest.

Return values

The method returns an instance of an AUIAreaOfInterest object with the passed to the method aspect ratio value.

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.