cete.dynamicpdf.viewer.pdfviewermouseeventargs
PdfViewerMouseEventArgs
- Namespace: ceTe.DynamicPDF.Viewer
- Assemblies: ceTe.DynamicPDF.Viewer.40.x64.dll, ceTe.DynamicPDF.Viewer.40.x86.dll
Provides data for the PdfViewerMouseClick and PdfViewerMouseMove event.
public class PdfViewerMouseEventArgs : EventArgs
Public Class PdfViewerMouseEventArgs
Inherits EventArgs
Inheritance: Object → EventArgs → PdfViewerMouseEventArgs
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 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
Clicks
Gets the number of times the mouse button was pressed and released.
public int Clicks { get; }
Public Property Clicks As Int32
Property Value
Location
Gets the location of the mouse during the generating mouse event.
public Point Location { get; }
Public ReadOnly Property Location As Point
Property Value
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
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
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
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
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
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
- obj: Object
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 .