This happens because frame.getAttText is just the function that retrieves the TAttText object, if you want the real object you would have to add parenthesis as in frame.getAttText(). Bu then unfortunately I cannot reproduce this
can you provide a small snippet of code with this issue?
Thanks very much for the indirect hint. When I tried to create a snippet of code for you to reproduce the error message I found out that I only get this error if I put the line print (frame.getAttText) after
But if I place the code before, it works completely fine and I can resize the font size!
One last question: Do you know, if there is also a way to resize the line spacing, as for now SetTextSize just resizes the font size…