Textelement Font size in mm

Discussion created by vki on Nov 16, 2011
Latest reply on Nov 16, 2011 by vki
Is there a way to set the font size of a textelement in a layout directly in mm? I tried it like that:

str = "<FNT name=\"Arial\" size=\"5 mm\">Test...</FNT>"
textelement.text = str

but it didn't work (the textelement wasn't drawn at all on the layout...)

I can always convert the mm in pt (1 mm = 2.85 pt) first, but it would be handy if I could do it directly...

Thanks in advance