I have point (DBPoint) and I want to draw some text in this point by DrawOverrule.
It works fine:
Point3d textPosition = ....wd.Geometry.Text(textPosition, point.Normal, Vector3d.XAxis, myText, true, TextStyle);
But how to draw text in two lines?
I can't use MText because it's overruled code (or no?).
So it's required to caclulate real font size and move second line to font vert-size.
Point3d textPosition = .... // first linewd.Geometry.Text(textPosition, point.Normal, Vector3d.XAxis, myTextLine1, true, TextStyle);
textPosition = textPosition.Add(new Vector3d(???)); // second linewd.Geometry.Text(textPosition, point.Normal, Vector3d.XAxis, myTextLine1, true, TextStyle);
How to do it?
See if this article will helps
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.