Class ViewMagnificationEventArgs
Encapsulates arguments for the Magnification change event of a view.
Inheritance
System.Object
System.EventArgs
ViewMagnificationEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public class ViewMagnificationEventArgs : EventArgs
Remarks
Constructors
ViewMagnificationEventArgs(Single, Single)
Initializes a new instance of the ViewMagnificationEventArgs class.
Declaration
public ViewMagnificationEventArgs(float mgOrig, float mgNew)
Parameters
Type | Name | Description |
---|---|---|
System.Single | mgOrig | Original origin. |
System.Single | mgNew | New origin. |
Properties
NewMagnification
Gets magnification value after the event occurred.
Declaration
public float NewMagnification { get; }
Property Value
Type |
---|
System.Single |
OriginalMagnification
Gets magnification value before the event occurred.
Declaration
public float OriginalMagnification { get; }
Property Value
Type |
---|
System.Single |