![]() |
This document is archived and information here might be outdated. Recommended version. |
Called before the edit sketch is drawn.
[Visual Basic .NET] Public Event BeforeDrawSketch As BeforeDrawSketchEventHandler
[C#] public event BeforeDrawSketchEventHandler BeforeDrawSketch
Listen for IEditEvents3::BeforeDrawSketch to intercept and handle sketch display properties before the edit sketch is drawn.
private IEditEvents3_Event m_editEvents3;
public void WireEditEvents3()
{
//Wire editevents3 to fire before draw Sketch happens
m_editEvents3 = (IEditEvents3_Event)m_editor;
m_editEvents3.BeforeDrawSketch += new IEditEvents3_BeforeDrawSketchEventHandler(
m_editEvents3_BeforeDrawSketch);
}
private void m_editEvents3_BeforeDrawSketch()
{
//code to change sketch display before edit sketch is drawn.
}