cete.dynamicpdf.viewer.pdfviewermouseeventargs
PdfViewerMouseEventArgs
- Namespace: ceTe.DynamicPDF.Viewer
- Assemblies: DynamicPDF.Viewer.dll
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:
- An active DynamicPDF https://www.dynamicpdf.com/ultimate-subscription Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Viewer selected.
- A DynamicPDF Viewer for .NET v3.X Developer license.
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
Licensing Info
This property is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF https://www.dynamicpdf.com/ultimate-subscription Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Viewer selected.
- A DynamicPDF Viewer for .NET v3.X Developer license.
Clicks
Gets the number of times the mouse button was pressed and released.
public int Clicks { get; }
Public Property Clicks As Int32
Property Value
Licensing Info
This property is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF https://www.dynamicpdf.com/ultimate-subscription Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Viewer selected.
- A DynamicPDF Viewer for .NET v3.X Developer license.
Location
Gets the location of the mouse during the generating mouse event.
public Point Location { get; }
Public ReadOnly Property Location As Point
Property Value
Licensing Info
This property is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF https://www.dynamicpdf.com/ultimate-subscription Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Viewer selected.
- A DynamicPDF Viewer for .NET v3.X Developer license.
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
Licensing Info
This property is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF https://www.dynamicpdf.com/ultimate-subscription Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Viewer selected.
- A DynamicPDF Viewer for .NET v3.X Developer license.
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
Licensing Info
This property is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF https://www.dynamicpdf.com/ultimate-subscription Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Viewer selected.
- A DynamicPDF Viewer for .NET v3.X Developer license.
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
Licensing Info
This property is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF https://www.dynamicpdf.com/ultimate-subscription Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Viewer selected.
- A DynamicPDF Viewer for .NET v3.X Developer license.
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
Licensing Info
This property is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF https://www.dynamicpdf.com/ultimate-subscription Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Viewer selected.
- A DynamicPDF Viewer for .NET v3.X Developer license.
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
Licensing Info
This property is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF https://www.dynamicpdf.com/ultimate-subscription Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Viewer selected.
- A DynamicPDF Viewer for .NET v3.X Developer license.
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.
Licensing Info
This method is a DynamicPDF Viewer feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF https://www.dynamicpdf.com/ultimate-subscription Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Viewer selected.
- A DynamicPDF Viewer for .NET v3.X Developer license.
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:
- An active DynamicPDF https://www.dynamicpdf.com/ultimate-subscription Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Viewer selected.
- A DynamicPDF Viewer for .NET v3.X Developer license.
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:
- An active DynamicPDF https://www.dynamicpdf.com/ultimate-subscription Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Viewer selected.
- A DynamicPDF Viewer for .NET v3.X Developer license.
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:
- An active DynamicPDF https://www.dynamicpdf.com/ultimate-subscription Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Viewer selected.
- A DynamicPDF Viewer for .NET v3.X Developer license.