Represents a command that handles double-tap gestures in the PDF viewer. This command toggles between fit-to-width and magnified zoom levels when the user double-taps on the PDF document.
Definition
Namespace:Telerik.Maui.Controls.PdfViewer
Assembly:Telerik.Maui.Controls.dll
Syntax:
C#
public class PdfViewerDoubleTappedCommand : PdfViewerCommand, INotifyPropertyChanged, ICommand
Inheritance: objectNotifyPropertyChangedBasePdfViewerCommandPdfViewerDoubleTappedCommand
Implements:
Inherited Members
Constructors
C#
public PdfViewerDoubleTappedCommand()
Methods
Determines whether the command can be executed with the specified parameter.
Executes the double-tap command by toggling between fit-to-width and magnified zoom levels. The command first attempts to fit the document to width, then applies magnification on subsequent taps.
C#
public override void Execute(object parameter)
The Point representing the location where the double-tap occurred.
Overrides: