Helper class for searching through PDF documents.
More...
Helper class for searching through PDF documents.
◆ PdfSearchManager()
| PdfiumViewer.PdfSearchManager.PdfSearchManager |
( |
PdfRenderer |
renderer | ) |
|
Creates a new instance of the search manager.
- Parameters
-
| renderer | The renderer to create the search manager for. |
◆ FindNext()
| bool PdfiumViewer.PdfSearchManager.FindNext |
( |
bool |
forward | ) |
|
Find the next matched term.
- Parameters
-
| forward | Whether or not to search forward. |
- Returns
- False when the first match was found again; otherwise true.
◆ Reset()
| void PdfiumViewer.PdfSearchManager.Reset |
( |
| ) |
|
Resets the search manager.
◆ Search()
| bool PdfiumViewer.PdfSearchManager.Search |
( |
string |
text | ) |
|
Searches for the specified text.
- Parameters
-
- Returns
- Whether any matches were found.
◆ CurrentMatchBorderColor
| Color PdfiumViewer.PdfSearchManager.CurrentMatchBorderColor |
|
get |
Gets or sets the border color of the current match.
◆ CurrentMatchBorderWidth
| float PdfiumViewer.PdfSearchManager.CurrentMatchBorderWidth |
|
get |
Gets or sets the border width of the current match.
◆ CurrentMatchColor
| Color PdfiumViewer.PdfSearchManager.CurrentMatchColor |
|
get |
Gets or sets the color of the current match.
◆ HighlightAllMatches
| bool PdfiumViewer.PdfSearchManager.HighlightAllMatches |
|
getset |
Gets or sets whether all matches should be highlighted.
◆ MatchBorderColor
| Color PdfiumViewer.PdfSearchManager.MatchBorderColor |
|
get |
Gets or sets the border color of matched search terms.
◆ MatchBorderWidth
| float PdfiumViewer.PdfSearchManager.MatchBorderWidth |
|
get |
Gets or sets the border width of matched search terms.
◆ MatchCase
| bool PdfiumViewer.PdfSearchManager.MatchCase |
|
getset |
Gets or sets whether to match case.
◆ MatchColor
| Color PdfiumViewer.PdfSearchManager.MatchColor |
|
get |
Gets or sets the color of matched search terms.
◆ MatchWholeWord
| bool PdfiumViewer.PdfSearchManager.MatchWholeWord |
|
getset |
Gets or sets whether to match whole words.
◆ Renderer
The renderer associated with the search manager.
The documentation for this class was generated from the following file:
- PdfiumViewer/PdfSearchManager.cs