Class ViewOriginEventArgs
Encapsulates arguments for the origin change event of a view.
Inheritance
System.Object
System.EventArgs
ViewOriginEventArgs
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 ViewOriginEventArgs : EventArgs
Remarks
The origin of a view is the point in world space that maps to the upper-left hand corner of the view.
ViewConstructors
ViewOriginEventArgs(PointF, PointF)
Initializes a new instance of the ViewOriginEventArgs class.
Declaration
public ViewOriginEventArgs(PointF ptOrig, PointF ptNew)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.PointF | ptOrig | Original origin. |
System.Drawing.PointF | ptNew | New origin. |
Properties
NewOrigin
Gets origin value after the event occurred.
Declaration
public PointF NewOrigin { get; }
Property Value
Type |
---|
System.Drawing.PointF |
Offset
Gets difference between the new origin and the original origin.
Declaration
public SizeF Offset { get; }
Property Value
Type |
---|
System.Drawing.SizeF |
OriginalOrigin
Gets origin value before the event occurred.
Declaration
public PointF OriginalOrigin { get; }
Property Value
Type |
---|
System.Drawing.PointF |