Class ZoomFactorChangedEventArgs
Provides data for the ZoomFactorChanged event, including the previous and current zoom factors.
Inheritance
System.Object
ZoomFactorChangedEventArgs
Namespace: Syncfusion.Maui.Toolkit.InteractiveViewer
Assembly: Syncfusion.Maui.Toolkit.dll
Syntax
public class ZoomFactorChangedEventArgs : EventArgs
Constructors
ZoomFactorChangedEventArgs(Double, Double)
Initializes a new instance of the ZoomFactorChangedEventArgs class with the specified previous and current zoom factors.
Declaration
public ZoomFactorChangedEventArgs(double oldZoomFactor, double newZoomFactor)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | oldZoomFactor | The zoom factor before the zoom operation occurred. |
| System.Double | newZoomFactor | The zoom factor after the zoom operation occurred. |
Properties
NewZoomFactor
Gets the zoom factor after the zoom operation.
Declaration
public double NewZoomFactor { get; }
Property Value
| Type |
|---|
| System.Double |
OldZoomFactor
Gets the zoom factor before the zoom operation.
Declaration
public double OldZoomFactor { get; }
Property Value
| Type |
|---|
| System.Double |