I'm trying to modify a text entities X scale but it seems I have no idea what I'm doing wrong.
I've created a text entity using:
Code: Select all
text = new RTextEntity(document, new RTextData( [text values here]);
Code: Select all
text.setProperty("PropertyXScale", "1.0");
Code: Select all
text.setProperty(new RPropertyTypeId("PropertyXScale"), "1.0");
Code: Select all
Error: :-1:-1: Wrong number/types of arguments for RTextBasedEntity.setProperty(). <native>('PropertyXScale', 0.5) at -1
Any help is appreciated.