I am trying to create text labels on the members of a structure. The labels on one side of the structure are not displayed completely, as if there is another (invisible) object overlapped on them (see attached image).
Do you know what is causing this problem and how I can fix it?
This is the code that creates the labels:
protected override void DrawForeground(DrawEventArgs e)
foreach (var text in _texts)
Point2d pt = e.Viewport.WorldToClient(text.Location);
e.Display.Draw2dText(text.Text, Color.Black, pt, true, TextSize,“Arial”);