how do I draw rich text by script?

Discussion forum for C++ and script developers who are using the QCAD development platform or who are looking to contribute to QCAD (translations, documentation, etc).

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files, scripts and screenshots.

Post one question per topic.

Post Reply
dpsnet
Registered Member
Posts: 2
Joined: Sat Jan 10, 2015 9:29 am

how do I draw rich text by script?

Post by dpsnet » Sun Jan 11, 2015 6:44 am

Help!
I need draw rich text by script like this:Image

User avatar
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Re: how do I draw rich text by script?

Post by andrew » Mon Jan 12, 2015 10:21 am

Have a look at the source tab of the text dialog. There you can see the exact escaped text sequence you can use for formatting rich text. You can also see this in the property editor, when selecting a text.

Post Reply

Return to “QCAD Programming, Script Programming and Contributing”