Click or drag to resize

TextDrawingManagerOnTextDrawingItemClickedEvent Event

텍스트 아이템 클릭 이벤트

Namespace:  VIZCore3D.NET.Manager
Assembly:  VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.1104 (2.8.24.1104)
Syntax
C#
public event TextDrawingItemClickedEventHandler OnTextDrawingItemClickedEvent

Value

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

private void Example()
{
    vizcore3d.TextDrawing.OnTextDrawingItemClickedEvent += TextDrawing_OnTextDrawingItemClickedEvent;
}

private void TextDrawing_OnTextDrawingItemClickedEvent(object sender, Event.EventManager.TextDrawingItemClickedEventArgs e)
{
    StringBuilder sb = new StringBuilder();
    sb.AppendFormat("Event : {0}\n", "OnTextDrawingItemClickedEvent");
    sb.AppendFormat("ID : {0}\n", e.Item.ID);
    sb.AppendFormat("Center : {0}\n", e.Item.Center.ToString());
    sb.AppendFormat("Direction : {0}\n", e.Item.Direction.ToString());
    sb.AppendFormat("UpDirection : {0}\n", e.Item.UpDirection.ToString());
    sb.AppendFormat("Height : {0}\n", e.Item.Height);
    sb.AppendFormat("Color : {0}\n", e.Item.FontColor.ToString());
    sb.AppendFormat("Text : {0}\n", e.Item.Text);
    System.Diagnostics.Trace.WriteLine(sb.ToString());
}
See Also