PdfZoomChangedEventArgs Class
Definition
Provides data for the Avalonia.Controls.PdfViewer.ZoomChanged event.
public class PdfZoomChangedEventArgs
Constructors
| Name | Description |
|---|---|
| PdfZoomChangedEventArgs | Initializes a new instance of the Avalonia.Controls.PdfZoomChangedEventArgs class. |
PdfZoomChangedEventArgs Constructor
Initializes a new instance of the Avalonia.Controls.PdfZoomChangedEventArgs class.
public PdfZoomChangedEventArgs(double oldZoom, double newZoom, Avalonia.Controls.PdfZoomMode mode)
Parameters
oldZoom double
newZoom double
Properties
| Name | Description |
|---|---|
| Mode | Gets the effective zoom mode after the change. |
| NewZoom | Gets the new zoom level (1.0 == 100%). |
| OldZoom | Gets the previous zoom level (1.0 == 100%). |
Mode Property
Gets the effective zoom mode after the change.
public Avalonia.Controls.PdfZoomMode Mode { get; set; }
NewZoom Property
Gets the new zoom level (1.0 == 100%).
public double NewZoom { get; set; }
OldZoom Property
Gets the previous zoom level (1.0 == 100%).
public double OldZoom { get; set; }