Skip to main content

TdxSpellCheckerDictionary.CheckCapitalization Property

Specifies whether a dictionary supports a case-sensitive search.

Declaration

property CheckCapitalization: Boolean read; write; default False;

Property Value

Type Default
Boolean False

Remarks

Set the CheckCapitalization property to True, to perform a case-sensitive search of a specified word in a dictionary (see the HasWord method).

If case sensitivity is enabled, the following rules are applied:

  • A pattern is specified in lower case (for example, “bill”) – a lower-case, capitalized, and upper-case match is performed.

Namely, the following forms will be accepted: “bill”, “Bill”, “BILL”.

  • A pattern is capitalized (for example, “Bill”) – the search is performed for capitalized and upper-case words.

Namely, the following forms will be accepted: “Bill”, “BILL”.

  • A pattern is specified in upper case (for example, “AOL”) – an upper-case match is performed.

Namely, the following form will be accepted: “AOL”.

  • A pattern is specified in mixed case (for example, “FindText”) – the exact match and an upper-case match is performed.

Namely, the following forms will be accepted: “FindText”, “FINDTEXT”.

The default value of the CheckCapitalization property is False.

See Also