Skip to main content

SearchedEventArgs

Version: 2.0

cete.dynamicpdf.viewer.searchedeventargs

SearchedEventArgs​

  • Namespace: ceTe.DynamicPDF.Viewer
  • Assemblies: ceTe.DynamicPDF.Viewer.40.x64.dll, ceTe.DynamicPDF.Viewer.40.x86.dll

Provides data for the Searched event.

public class SearchedEventArgs : EventArgs
Public Class SearchedEventArgs
Inherits EventArgs

Inheritance: Object → EventArgs → SearchedEventArgs

Licensing​

This class is a DynamicPDF Viewer feature. The following license is required for non-evaluation usage:

  • DynamicPDF Viewer for .NET

Examples​

For example refer to Searched event.

Remarks​

This event is fired after every successful search.

Properties​

Completed​

Gets a boolean value which shows the search is completed or not.

public bool Completed { get; }
Public Property Completed As Boolean

Property Value​

Boolean

Remarks​

True value indicates search is completed. False value indicates search is either progressing or canceled.

Count​

Gets the count of successful search result.

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

Property Value​

Int32

MatchOption​

Gets the match option used for search.

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

Property Value​

MatchOptions

SearchResultPageNumber​

Gets the page number where the search is found.

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

Property Value​

Int32

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

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

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

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

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.

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 .

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.

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 .

See Also​

ceTe.DynamicPDF.Viewer