Class PdfTextSearch
The PdfTextSearch class provides functionality for handling search results within a PdfText object.
public class PdfTextSearch : IDisposable
- Inheritance
-
PdfTextSearch
- Implements
- Inherited Members
Properties
CurrentIndex
Gets the current index of the search cursor.
public int CurrentIndex { get; }
Property Value
MatchCount
Returns the number of search results for the current search string.
public int MatchCount { get; }
Property Value
Methods
Dispose()
Releases the resources used by the current instance of the class.
public void Dispose()
Remarks
This method should be called to release unmanaged resources when the instance is no longer needed. Failure to call this method may result in resource leaks.
FindNext()
Find next search result. Moves the search cursor to thext match of the search string.
public bool FindNext()
Returns
FindPrev()
Find previous search result. Moves the search cursor to the previous match of the search string.
public bool FindPrev()