The TextHorizontalAlignment only works for the first line using:
It seems that any alignment only works properly with the first line.
var text = "Hello" + Environment.NewLine + "World";
//var text = "Hello\nWorld";
Plane.WorldXY, 1, "Arial", false, false,
Version 6 SR25
@Alain, is this something you can help with?
That does look like a bug. It has been logged.
Thank you for reporting it.
RH-58779 is fixed in the latest BETA
Multi-line still doesn’t work in Rhino 7.
Can somebody check?
Thank you in advance,
Seems to be working here.
TestDmitriy.cs (1.1 KB)
Hm… strange. Seems does not work on my side. I am running it from GH custom component from
DrawViewportMeshes. Not sure if this makes any difference.