Skip to main content

SearchedEventArgs

Version: 3.0

cete.dynamicpdf.viewer.searchedeventargs

SearchedEventArgs​

Provides data for the Searched event.

public class SearchedEventArgs : EventArgs
Public Class SearchedEventArgs
Inherits EventArgs

Inheritance: Object → EventArgs → SearchedEventArgs

Licensing Info​

This class is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:

Examples​

For example refer to Searched event.

Remarks​

This event is fired after every successful search.

Properties​

Count​

Gets the count of successful search result.

public int Count { get; }
Public Property Count As Int32

Property Value​

Int32

Licensing Info​

This property is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:

MatchOption​

Gets the match option used for search.

public MatchOptions MatchOption { get; }
Public Property MatchOption As MatchOptions

Property Value​

MatchOptions

Licensing Info​

This property is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:

SearchResultPageNumber​

Gets the page number where the search is found.

public int SearchResultPageNumber { get; }
Public Property SearchResultPageNumber As Int32

Property Value​

Int32

Licensing Info​

This property is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:

Remarks​

This value do not have any relavance if the Status is 'Completed' or 'Canceled'.

SearchResultPosition​

Gets the position of Search Keyword.

public int SearchResultPosition { get; }
Public Property SearchResultPosition As Int32

Property Value​

Int32

Licensing Info​

This property is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:

Remarks​

This value do not have any relavance if the Status is 'Completed' or 'Canceled'.

SearchTerm​

Gets the search string.

public string SearchTerm { get; }
Public Property SearchTerm As String

Property Value​

String

Licensing Info​

This property is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:

ShowSearchCompleteDialog​

Gets or sets a value indicating whether to show the search completed dialog or not.

public bool ShowSearchCompleteDialog { get; set; }
Public Property ShowSearchCompleteDialog As Boolean

Property Value​

Boolean

Licensing Info​

This property is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:

Remarks​

False value will hide the search complete message dialog.

Status​

Gets a search status.

public SearchStatus Status { get; }
Public Property Status As SearchStatus

Property Value​

SearchStatus

Licensing Info​

This property is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:

Remarks​

Status value will be 'Progressing' if search is not completed or cancelled by user. Status value will be 'Canceled' if user cancels it from the user interface or through code by invoking a new search. Status value will be 'Completed' when search finished.

Methods​

Equals(Object)​

Determines whether the specified Object is equal to the current Object . (Inherited from Object)

public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean

Parameters​

The Object to compare with the current Object .

Returns​

true if the specified Object is equal to the current Object ; otherwise, false.

Licensing Info​

This method is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:

GetHashCode()​

Serves as a hash function for a particular type. (Inherited from Object)

public int GetHashCode()
Function GetHashCode() As Integer

Returns​

A hash code for the current Object .

Licensing Info​

This method is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:

GetType()​

Gets the Type of the current instance. (Inherited from Object)

public Type GetType()
Function GetType() As Type

Returns​

The Type instance that represents the exact runtime type of the current instance.

Licensing Info​

This method is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:

ToString()​

Returns a String that represents the current Object . (Inherited from Object)

public string ToString()
Function ToString() As String

Returns​

A String that represents the current Object .

Licensing Info​

This method is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:

See Also​

ceTe.DynamicPDF.Viewer