ClassPdfViewerFitDocumentToWidthCommand
Class
Represents a command that fits the PDF document to the width of the viewer. This command adjusts the zoom level so that the entire width of the document page is visible.
Definition
Namespace:Telerik.Maui.Controls.PdfViewer
Assembly:Telerik.Maui.Controls.dll
Syntax:
cs-api-definition
public class PdfViewerFitDocumentToWidthCommand : PdfViewerCommand, INotifyPropertyChanged, ICommand
Inheritance: objectNotifyPropertyChangedBasePdfViewerCommandPdfViewerFitDocumentToWidthCommand
Implements:
Inherited Members
Constructors
PdfViewerFitDocumentToWidthCommand()
Declaration
cs-api-definition
public PdfViewerFitDocumentToWidthCommand()
Methods
CanExecute(object)
Determines whether the fit document to width command can be executed.
Execute(object)
Executes the fit document to width command to adjust the zoom level so the document width fits the viewer.
Declaration
cs-api-definition
public override void Execute(object parameter)
Parameters
parameter
The command parameter.
Overrides