rich text

Un rich text in Gambas è una stringa che usa un sottoinsieme del formato html.

I seguenti marcatori HTML sono permessi:

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

Il marcatore <font> con gli attributi sottostanti: face, color, and size.

L' attributo size può essere:
  • Un valore fra 1 e 7 per una dimensione assoluta del font.

  • -1 per un font più piccolo.

  • +1 per un font più grande.

Un' entità html può essere usata.

Il testo RTF è utilizzato principalmente da TextLabel, gridview, e il metodo Draw.RichText.