English (English)

Phone

Parameter Description
Void MinDigitsCount( Int )

Sets the minimum number of digits in the phone number.

See the Phone dialog box, Minimum number of digits property.

Void MaxDigitsCount( Int )

Sets the minimum number of digits in the phone number.

See the Phone dialog box, Maximum number of digits property.

Void Prefixes( String )

Sets the possible phone prefixes. Prefixes must be separated by commas. Commas may be followed by spaces.

See the Phone dialog box, Prefixes for phone numbers property.

E.g.

Void PrefixOmissionQuality( Real )

Sets the penalty for a missing phone prefix.

See the Phone dialog box, Missing prefix penalty property.

Void Separators( String )

Sets the symbols used to separate digits in the phone number.

See the Phone dialog box, Possible digit separators property.

E.g.

Void AddCodeDelimiters( String, String )

Sets the opening and closing brackets for the city code. The parameters of the function are one-character strings. The first parameter is an opening bracket, the second parameter is a closing bracket.

See the Phone dialog box, Area code/city code brackets property.

E.g.

Void PossibleDigitQuality( Real ) Sets the penalty for each missing wrong character in the phone number. The default value is 0.97.
Void UniformDigitStringQuality( Real ) Sets the penalty for a phone number which consists of only digits evenly distributed on the image. Used to distinguish telephone numbers from other sequences of digits, such as zip codes, account numbers, etc. The default value is 0.97.
Void MaxXOutsidePart( Real ) Specifies the part of the character that may extend beyond the search area horizontally. The part of the character is specified by a number from 0 to 1. Those characters are included in the hypothesis that have the specified or smaller part outside the search area.
Void MaxYOutsidePart( Real ) Specifies the part of the character that may extend beyond the search area vertically. The part of the character is specified by a number from 0 to 1. Those characters are included in the hypothesis that have the specified or smaller part outside the search area.
Void MaxRelativeGapInLine( Real ) The maximum distance between neighboring characters expressed as a percentage of the line height.
Void AllowedTextRotations ( TextRotations ) Specifies a set of orientations of the recognized text in which an element search is allowed.

4/12/2024 6:16:02 PM

Please leave your feedback about this article

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.