본문으로 건너뛰기

OnAreaSelectionEndEvent

event ViewAreaSelectionEndEventHandler OnAreaSelectionEndEvent

View Area Selection End Event

Examples

// 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}");
}