I did DrawableOverrule instance and override WorldDraw method.
In this method I have checked:
public override bool WorldDraw(Drawable d, WorldDrawwd)
if (d isLine)
Line line = (Line)d;
Next I want to draw text placed on the line and I did:
wd.Geometry.Text(line.StartPoint, normal, direction
Question is - how to calculate required direction for text that text should be placed on the line? Is it easy way to do it?
The Line.Delta property returns a vector along the direction of the line.
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!