Void AddLanguage( String ) | 将用于检测日期的语言添加到已指定语言列表中。参数应是一个 string,取值为任一支持的语言:“English”、“Czech”、“Danish”、“Dutch”、“Estonian”、“Finnish”、“French”、“German”、“Greek”、“Hungarian”、“Italian”、“Latvian”、“Lithuanian”、“Norwegian”、“Polish”、“Portuguese”、“Russian”、“Spanish”、“Swedish”、“Turkish”。 |
Void DateFormat( DateFormats ) | 日期格式。示例: 指示程序日期应采用“月-日-年”格式:DateFormat: MonthDayYear; |
Void DayFormat( DayFormatVariants ) | 日期中“日”部分的格式。 |
Void IgnoreAccents( Logic value = true ) | 指定在查找月份名称时是否需要考虑变音符号。默认情况下,会忽略变音符号。 |
Void Language( String ) | 指定月份名称所使用的语言。 |
Void MaxDate( String ) | 以 DD/MM/YYYY 格式表示的 string,用于设置 Date 参数。用于指定时间区间:DateTimePicker1… DateTimePicker2… 示例: 下面的代码告诉程序日期介于 2000 年 1 月 1 日和 2004 年 12 月 31 日之间(日期格式无关紧要)。MinDate: "01/01/2000"; MaxDate: "31/12/2004"; |
Void MaxXOutsidePart( Real ) | 指定字符在水平方向上允许超出搜索区域的部分。该部分用 0 到 1 的数值表示。所有在搜索区域外部部分小于或等于该数值的字符都会包含在假设中。 |
Void MaxYOutsidePart( Real ) | 指定字符在垂直方向上允许超出搜索区域的部分。该部分用 0 到 1 的数值表示。所有在搜索区域外部部分小于或等于该数值的字符都会包含在假设中。 |
Void MaxRelativeGapInLine( Real ) | 相邻字符之间的最大距离,以行高的百分比表示。 |
Void MinDate( String ) | 以 DD/MM/YYYY 格式表示的 string,用于设置 Date 参数。 |
Void MinQuality( Real ) | 设置假设的最低质量。 |
Void MonthFormat( MonthFormatVariants ) | 指定月份格式。示例: 下面的代码告诉程序日期中的月份可以写成单词或两位数字。MonthFormat: DigitsWithLeadingZeroMonth + WordMonth; |
Void Separators( String ) | 指定可能的日期分隔符。示例: 下面的代码告诉程序日期中的数字可以用点 (.) 或斜杠 (/) 分隔:Separators: "./"; |
Void YearFormat( YearFormatVariants ) | 指定年份格式。 |
Void AllowedTextRotations( TextRotations ) | 指定在执行元素搜索时可接受的识别文本方向集合。 |