TE Edit Control .NET Core / .NET Framework Help
Product page

PostPaint

This event is sent after TE draw the text area.

tern.PosPaint+=new Tern.EventPostPaint(PostPaint);
protected void PostPaint(object Sender, Graphics gr)
{
  ....
}

The 'gr' parameter holds the Graphics object associated with the editor window.