Skip to content

PDFVisualTextSearchOptions

Namespace: O2S.Components.PDF4NET.View.Content

Supported options when searching text in PDF pages.

public enum PDFVisualTextSearchOptions

Inheritance ObjectValueTypeEnumPDFVisualTextSearchOptions
Implements

Fields

Name Value Description
CaseInsensitiveSearch 0 Case insensitive search, it is the default search. Can be combined with PDFVisualTextSearchOptions.WholeWordSearch and/or PDFVisualTextSearchOptions.AccentInsensitiveSearch or PDFVisualTextSearchOptions.AccentSensitiveSearch.
CaseSensitiveSearch 1 Case sensitive search. Can be combined with PDFVisualTextSearchOptions.WholeWordSearch and/or PDFVisualTextSearchOptions.AccentInsensitiveSearch or PDFVisualTextSearchOptions.AccentSensitiveSearch.
AccentInsensitiveSearch 2 Accent insensitive search, it is the default search. Can be combined with PDFVisualTextSearchOptions.WholeWordSearch and/or PDFVisualTextSearchOptions.CaseInsensitiveSearch or PDFVisualTextSearchOptions.CaseSensitiveSearch.
AccentSensitiveSearch 4 Accent sensitive search. Can be combined with PDFVisualTextSearchOptions.WholeWordSearch and/or PDFVisualTextSearchOptions.CaseInsensitiveSearch or PDFVisualTextSearchOptions.CaseSensitiveSearch.
WholeWordSearch 8 Whole word search. Can be combined with PDFVisualTextSearchOptions.CaseInsensitiveSearch or PDFVisualTextSearchOptions.CaseSensitiveSearch and/or PDFVisualTextSearchOptions.AccentInsensitiveSearch or PDFVisualTextSearchOptions.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.