rich text

Rich text em Gambas é uma string usando um subconjunto do formato html.

As seguintes tags HTML são permitidas:

<p> <br/> <a> <font> <b> <i> <s> <sub> <sup> <small> <tt> <u> <h1> <h2> <h3> <h4> <h5> <h6>.

A tag <font> compreende os seguintes atributos: face, color, e size.

O atributo size pode ser:
  • Um valor entre "1" e "7" para um tamanho de fonte absoluta.

  • -1 para um tamanho de fonte menor.

  • +1 para um tamanho de fonte maior.

Qualquer entidade html pode ser usada.

Rich text é usado principalmente por TextLabel, células GridView e o Métodos Draw.RichText.