Class GestureEventArgs
Provides the data for the Tapped event
Inheritance
System.Object
GestureEventArgs
Namespace: Syncfusion.Maui.PdfViewer
Assembly: Syncfusion.Maui.PdfViewer.dll
Syntax
public class GestureEventArgs : EventArgs
Constructors
GestureEventArgs()
Declaration
public GestureEventArgs()
Properties
PageNumber
The number of the page on which the tap occurred.
Declaration
public int PageNumber { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The value of this property ranges from 1 to the total page count of the PDF document. |
Remarks
The value of the property will be -1 if the tap occurred outside any PDF page bounds.
PagePosition
The tapped position in the PDF page coordinates which have their origin at the top left corner of the page.
Declaration
public PointF PagePosition { get; }
Property Value
Type |
---|
PointF |
Remarks
The tapped page is indicated by the Syncfusion.Maui.PdfViewer.PdfPageView.PageNumber property. The value of this property will be (-1,-1) if the tap occurred outside page bounds.
Position
The tapped position on the SfPdfViewer. The coordinate space starts at the top-left of the control.
Declaration
public Point Position { get; }
Property Value
Type |
---|
Microsoft.Maui.Graphics.Point |