/ Forums / Advansys Formativ / Creating Solutions with Formativ / API for font color changes?

  • Creator
    Topic
  • #4359
    rstarr
    Participant

    Can either the GW or Formativ API make stylistic changes to text, for example changing the font to Small Caps or changing the color of the font? Thank you.

  • Author
    Replies
  • #7929
    Support 3
    Participant

    Do you want to change text to the draft message or GroupWise client view?

    Regards,
    Advansys Support

    #7928
    rstarr
    Participant

    I’m not sure I’m understanding your question.
    I want stylize the way my signature block appears on the fly using code, not by importing a signature file. So, I guess I want to change text to the draft message (which is how it will be viewed)

    #7930
    Support 3
    Participant

    See the Token API (http://developer.novell.com/documentation/gwtoken/index.html?gwtokens/data/hj8ej8g5.html) which lets you to change the text. Some of token are: FontSet(), FontBold(), etc.

    The example code below turn bold on.

      
      call groupwise.FocusSet(fcsMessage, "")
      groupwise.PosTextTop
      groupwise.SelectToEndText
      groupwise.FontBold(true)
    

    Regards,
    Advansys Support

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.