Void MinQuality( Real ) | Sets the minimum quality of the hypothesis. |
Void MaxErrors( Int ) | Sets the maximum number of errors in the hypothesis. See Static Text, Max number of errors. |
Void MaxErrorsPart( Real ) | Sets the maximum percentage of errors in the hypothesis. See Static Text, Max error percentage. |
Void MaxErrors( Int number, Real part ) | Sets both the maximum number of errors (number) and the maximum percentage of errors (part) in the hypothesis. Note. FlexiLayout Studio uses the stricter of the two conditions. |
Void MaxGapInLine( Distance ) | Sets the maximum distance between neighboring characters. When generating a hypothesis, FlexiLayout Studio adds characters to the hypothesis as long as the distance between two neighboring characters does not exceed MaxGapInLine. See also Character String, Max space length. |
Void MaxRelativeGapInLine( Real ) | The maximum distance between neighboring characters expressed as a percentage of the line height. |
Void AllowChoppedWords( Logic ) | The flag specifies whether text objects which do not fit entirely within the left and right boundaries should be included in the hypothesis. The default value is true. |
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. Characters that have the specified or smaller part outside the search area are included in the hypothesis. |
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. Characters that have the specified or smaller part outside the search area are included in the hypothesis. |
Void CaseSensitive( Logic Value=true ) | Distinguishes between lowercase and uppercase letters if set to true. |
Void IgnoreAccents( Logic value = true ) | Specifies whether diacritics are ignored when searching for text. If the value is set to true, diacritics will be ignored (for example, the words “café” and “cafe” will be treated as identical). |
Void SearchTextFromDB( String connectionString, String selectString, Int maxRecordsCount = 1000 ) | Specifies the set of strings to be searched on an image with the help of a database. For more information, see Databases and text files in the FlexiLayout language. The connectionString argument sets the connection string for connecting to the database. The selectString argument sets an SQL query, which starts with the SELECT command. The resulting set obtained by this query, which must contain only one field, represents phrase variants. In its simplest form, a query gets the required field from a specified database table. If a query returns more than one field, the data from the first field are used for the search. To speed up the search, only the first maxRecordsCount variants are used (the default setting is 1000). |
Void SearchTextFromFile( String fileName, Int maxRecordsCount = 1000 ) | Specifies the set of strings to be searched on an image with the help of a fileName text file. For more information, see Databases and text files in the FlexiLayout language. To speed up the search, only the first maxRecordsCount variants are used (the default setting is 1000). |
AllowIntersectPercent( Real ) | Specifies the maximum allowed percentage of vertical overlap for two lines of text (the default setting is 15). You may want to use this parameter for texts with tight line spacing. |