Skip to content

# PDFTextSearchOptions

Namespace: O2S.Components.PDF4NET.Content

Supported options when searching text in PDF pages.

    public enum PDFTextSearchOptions

Inheritance Object → ValueType → Enum → PDFTextSearchOptions
Implements

## Fields

Name | Value | Description
--- | --- | ---
CaseInsensitiveSearch | 0 | Case insensitive search, it is the default search. Can be combined with PDFTextSearchOptions.WholeWordSearch and/or PDFTextSearchOptions.AccentInsensitiveSearch or PDFTextSearchOptions.AccentSensitiveSearch.
CaseSensitiveSearch | 1 | Case sensitive search. Can be combined with PDFTextSearchOptions.WholeWordSearch and/or PDFTextSearchOptions.AccentInsensitiveSearch or PDFTextSearchOptions.AccentSensitiveSearch.
AccentInsensitiveSearch | 2 | Accent insensitive search, it is the default search. Can be combined with PDFTextSearchOptions.WholeWordSearch and/or PDFTextSearchOptions.CaseInsensitiveSearch or PDFTextSearchOptions.CaseSensitiveSearch.
AccentSensitiveSearch | 4 | Accent sensitive search. Can be combined with PDFTextSearchOptions.WholeWordSearch and/or PDFTextSearchOptions.CaseInsensitiveSearch or PDFTextSearchOptions.CaseSensitiveSearch.
WholeWordSearch | 8 | Whole word search. Can be combined with PDFTextSearchOptions.CaseInsensitiveSearch or PDFTextSearchOptions.CaseSensitiveSearch and/or PDFTextSearchOptions.AccentInsensitiveSearch or PDFTextSearchOptions.AccentSensitiveSearch.
RegExSearch | 16 | Regular expression search. Other flags are ignored if they are combined.
IgnoreNewLineSpace | 32 | By default, for search purposes, two consecutive lines of text are separated by a space. If this flag is set the whole text in the PDF page is considered to be a single line without spaces between original text lines. Can be combined with any of the options above.