Skip to main content

PdfViewerMouseEventArgs

Version: 3.0

cete.dynamicpdf.viewer.pdfviewermouseeventargs

PdfViewerMouseEventArgs​

Provides data for the PdfViewerMouseClick and PdfViewerMouseMove event.

public class PdfViewerMouseEventArgs : EventArgs
Public Class PdfViewerMouseEventArgs
Inherits EventArgs

Inheritance: Object → EventArgs → PdfViewerMouseEventArgs

Licensing Info​

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

Examples​

For example refer to PdfViewerMouseClick event.

Properties​

Button​

Gets the Button object which contains the information about the mouse button associated with the event.

public MouseButtons Button { get; }
Public Property Button As MouseButtons

Property Value​

MouseButtons

Licensing Info​

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

Clicks​

Gets the number of times the mouse button was pressed and released.

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

Property Value​

Int32

Licensing Info​

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

Location​

Gets the location of the mouse during the generating mouse event.

public Point Location { get; }
Public ReadOnly Property Location As Point

Property Value​

Point

Licensing Info​

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

PageNumber​

Gets the page number of the PDF page during the generating mouse event.

public int PageNumber { get; }
Public Property PageNumber 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​

Page number starts from 1. If the event is generated out side of the PDF page then its value will be set to -1.

PageX​

Gets the x-coordinate of the mouse on PDF page during the generating mouse event.

public int PageX { get; }
Public ReadOnly Property PageX 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​

If the event is generated out side of the PDF page then its value will be set to -1.

PageY​

Gets the y-coordinate of the mouse during the generating mouse event.

public int PageY { get; }
Public ReadOnly Property PageY 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​

If the event is generated out side of the PDF page then its value will be set to -1.

X​

Gets the x-coordinate of the mouse during the generating mouse event.

public int X { get; }
Public ReadOnly Property X As Int32

Property Value​

Int32

Licensing Info​

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

Y​

Gets the y-coordinate of the mouse during the generating mouse event.

public int Y { get; }
Public ReadOnly Property Y As Int32

Property Value​

Int32

Licensing Info​

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

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