Hi, I want to add a rectangle with size exactly like the text it would contain [without any line breaks]. Is that possible?
If I use
rectangle.getXForm().getWidth().getUfe().setF(“TEXTWIDTH(TheText)”);
rectangle.getXForm().getHeight().getUfe().setF(“TEXTHEIGHT(TheText,Width))”);
shape is to wide, if I don’t use I get line breaks.
SizeFromText.zip (1.7 MB)