Table of Contents

Class PdfTextSearch

Namespace
nebulae.dotPDFium
Assembly
dotPDFium.dll

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

int

MatchCount

Returns the number of search results for the current search string.

public int MatchCount { get; }

Property Value

int

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

bool

FindPrev()

Find previous search result. Moves the search cursor to the previous match of the search string.

public bool FindPrev()

Returns

bool