Use this method to define that only the first text found should be returned.
If this method is called with a value of true, only the first match found for each pattern is returned. If it is called with a value of false, all of the matches that are found are returned for each pattern. Calling this value is optional, by default all the matches are returned.
For more information see Eyes OCR support .
This feature is experimental. Please note that the functionality and/or API may change.
TextRegionSettings value = obj.firstOnly(firstOnly);
- A value of means that only the first match found for each pattern is returned.
- Type: TextRegionSettings
- This method returns the object that called it so that it can be used to call other methods supportd by this class in a fluent API style.