Table of Contents

DocumentViewerMatchOptions Enum

Definition

Namespace
GleamTech.DocumentUltimate.AspNet.UI
Assembly
GleamTech.DocumentUltimate.dll

Defines possible match options for text search in the document viewer.

[Flags]
public enum DocumentViewerMatchOptions

Fields

Name Value Description
None 0

No specific match option.

MatchAnyWord 1

The search should match the term as a whole or match any word in the term separately.

For example;

  • bicycle bells will match bicycle or bells or bicycle bells
  • red "four wheels" petrol will match red or four wheels or petrol or red four wheels petrol
  • red ""four wheels"" petrol will match red or "four wheels" or petrol or red "four wheels" petrol

The quotation marks can be used to specify phrases inside a query. Note that two consecutive quotation marks "" can be used to escape, i.e. to search for a quotation mark literally as ".

MatchCase 2

The search should be case-sensitive, i.e. the found text must match the case of the search term.

MatchWholeWord 4

The search should match the whole word only, i.e the found text must be a whole word (surrounded by a non-word character). (e.g. "doc" matches " doc " or ".doc" but not "document").

UseWildcard 8

Obsolete

The search should treat (asterisk) character in the search term as a wildcard. Wildcard matches zero or more characters.

MatchDiacritics 16

The search should match the letters with diacritics (accents), e.g u matches also ü.

Diacritics, often loosely called `accents`, are the various little dots and squiggles which, in many languages, are written above, below or on top of certain letters of the alphabet to indicate something about their pronunciation.