Click or drag to resize

ViewManagerOnAreaSelectionEndEvent Event

View Area Selection End Event

Namespace:  VIZCore3D.NET.Manager
Assembly:  VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.25.422 (2.8.25.422)
Syntax
C#
public event ViewAreaSelectionEndEventHandler OnAreaSelectionEndEvent

Value

Type: ViewAreaSelectionEndEventHandler
Examples
C#
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;

public void Example()
{
    vizcore3d.View.OnAreaSelectionBeginEvent += View_OnAreaSelectionBeginEvent;
    vizcore3d.View.OnAreaSelectionEndEvent += View_OnAreaSelectionEndEvent;
}

private void View_OnAreaSelectionBeginEvent(object sender, ref EventManager.ViewAreaSelectionBeginEventArgs e)
{
    e.CustomText = "Drag View Action Custom Text";
}

private void View_OnAreaSelectionEndEvent(object sender, EventManager.ViewAreaSelectionEndEventArgs e)
{
    MessageBox.Show($"Begin Point : {e.BeginPoint} \nEnd Point : {e.EndPoint}");
}
See Also