Jump to content

partially color a string


Recommended Posts

is it possible to partially color a string, like it is possible to partially make it bold (with SetTextStyle).

You can make the object in vectorworks, but an export and re-import to vectorscript doesn't work...

see attachment

Link to comment


( objectId :HANDLE;

start :INTEGER;

count :INTEGER;

textStyleRef :LONGINT


could do it, but how can I get the 'textStyleRef' if I don't have an object with that textstyle.

Is it possible to create a new textstyle and set its attributes, and get the ID of the textstyle?

Link to comment
  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...