Table of Contents

Constructor PdfTextSearchResult

Namespace
LMKit.Document.Pdf
Assembly
LM-Kit.NET.dll

PdfTextSearchResult(string, string, bool, int, int, int, bool, IReadOnlyList<TextMatch>)

Initializes a new instance of the PdfTextSearchResult class.

public PdfTextSearchResult(string path, string query, bool caseSensitive, int pageCount, int scannedPages, int totalMatches, bool limitedByMaxMatches, IReadOnlyList<TextMatch> matches)

Parameters

path string

Absolute path of the searched PDF.

query string

Search query.

caseSensitive bool

Whether search was case-sensitive.

pageCount int

Total number of pages in the PDF.

scannedPages int

Number of scanned pages.

totalMatches int

Number of returned matches.

limitedByMaxMatches bool

Whether results were capped by maxMatches.

matches IReadOnlyList<TextMatch>

Returned matches.

Share