How to set font color on runtime?

(2 posts) (2 voices)
  • Started 11 months ago by sunder3dvia
  • Latest reply from iainB85

Tags:

No tags yet.

  1. sunder3dvia

    veteran
    Joined: May '13
    Posts: 276

    Hi,

    I want to set color for the font (i.e text in 2d node) on run time. Can anyone tell me how to do it ?

    Thanks.

    Posted 11 months ago #
  2. iainB85

    Interplanetary Delivery Boy
    Joined: Jun '08
    Posts: 515

    Hello, you simply need to use the vkNode2D::SetColor function.

    I attached a sample using it in both schematic and vsl tasks.

    Attachments

    1. forumTextColor.mpexp (21.3 KB, 3 downloads) 11 months old
    WARNING: Files uploaded in the forums are not monitored by 3DVIA and therefore might contain content that is malicious or offensive. Download at your own risk
    Posted 11 months ago #

Reply

You must log in to post.