Skip to main content

PasswordRequiredEventArgs

Version: 1.0

cete.dynamicpdf.viewer.passwordrequiredeventargs

PasswordRequiredEventArgs​

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

Provides data for the PasswordRequired event.

public class PasswordRequiredEventArgs : EventArgs
Public Class PasswordRequiredEventArgs
Inherits EventArgs

Inheritance: Object → EventArgs → PasswordRequiredEventArgs

Examples​

For example refer to PasswordRequired event.

Properties​

Cancel​

Gets or sets a boolean.

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

Property Value​

Boolean

MaxAttempts​

Gets or sets the maximum number of attempts to re-entry, when incorrect password is given.

public int MaxAttempts { get; set; }
Public Property MaxAttempts As Int32

Property Value​

Int32

Password​

Gets or sets the PDF document password.

public string Password { get; set; }
Public Property Password As String

Property Value​

String

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