Retrieve the color of individual words

Thu 24. Nov 2016, 11:17

I'm trying to export DialogueFragments using a custom MacroPlugin. I'm using a Query to get the ObjectProxies of the desired DialogueFragments and the GetText() method to get the spoken Text.
So far so good.

In the Articy Draft Editor I changed the color of an individual word inside the spoken Text of a DialogueFragment. I would also like to export the color of the word as well.
So my question is: Is it possible to retrieve the color of an individual word inside the text of a DialogueFragment?


EDIT: Silly me! I didn't see the overload of the GetText() method which takes a TextFormat as argument. Now I can achieve exactly what I want.
Posts: 1
Joined: Wed 23. Nov 2016, 15:13

Return to articy:draft Macro Devkit

Who is online

Users browsing this forum: No registered users and 1 guest

Who We Are
Contact Us
Social Links