Skip to content

PDFTextSearchContext

Namespace: O2S.Components.PDF4NET.Content

Defines the context for searching text in PDF files.

public class PDFTextSearchContext

Inheritance ObjectPDFTextSearchContext

Constructors

PDFTextSearchContext()

Initializes a new PDFTextSearchContext object.

public PDFTextSearchContext()

Properties

TextSearchResultPrefixLength

Gets or sets the length of prefix text for search results.

public int TextSearchResultPrefixLength { get; set; }

Property Value

Int32
The length of extracted text that appears before the search results


TextSearchResultSuffixLength

Gets or sets the length of suffix text for search results.

public int TextSearchResultSuffixLength { get; set; }

Property Value

Int32
The length of extracted text that appears after the search results