SCRIPTING MACROS IN COREL DRAW // TEXT OBJECT != STRING !?

Hello everyone, first of all thank you for taking the time to read my post. 

I would like to ask why corel draw treats text items (Story) found in text shapes as a  "Text" class and not as a string? I am asking because i need to scan the text item for certain character ":" and i only know how to do this by treating text as strings and using the methods that belong to it. Thanks for any help!

Parents
No Data
Reply
  • Former Member
    0 Former Member over 7 years ago
    more or less...
    Strings no have color, style, font, height, etc, strings are char collection in memory, to render one string in display using gdi+ for exemple, you also need font, brush, position, etc. Text object encapsulating many others object types.You can acess the string of the text object with the propertie "Contents".
Children
No Data