Skip to content

PdfContentExtractor.SearchText Method

Overloads

Name Description
SearchText(String) Searches the page content for the specified text.
SearchText(String,PdfTextSearchOptions) Searches the page content for the specified text.
SearchText(String,PdfTextSearchOptions,PdfContentExtractionContext) Searches the page content for the specified text.

SearchText(String)

Searches the page content for the specified text.

C#
public PdfTextSearchResultCollection SearchText(string text)

Parameters

text String

Text to find in page content.

SearchText(String,PdfTextSearchOptions)

Searches the page content for the specified text.

C#
public PdfTextSearchResultCollection SearchText(string text, PdfTextSearchOptions searchOptions)

Parameters

text String

Text to find in page content.

searchOptions PdfTextSearchOptions

A set of options that specify how the text search should be performed.

SearchText(String,PdfTextSearchOptions,PdfContentExtractionContext)

Searches the page content for the specified text.

C#
public PdfTextSearchResultCollection SearchText(string text, PdfTextSearchOptions searchOptions, PdfContentExtractionContext context)

Parameters

text String

Text to find in page content.

searchOptions PdfTextSearchOptions

A set of options that specify how the text search should be performed.

context PdfContentExtractionContext

Context for text extraction.