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 line
wd.Geometry.Text(textPosition, point.Normal, Vector3d.XAxis, myTextLine1, true, TextStyle);
textPosition = textPosition.Add(new Vector3d(???)); // second line
wd.Geometry.Text(textPosition, point.Normal, Vector3d.XAxis, myTextLine1, true, TextStyle);
How to do it?
Thanks,
Pavel.
See if this article will helps