setItalic

Class: ModelAdvisor.Text
Package: ModelAdvisor

Italicize text

Syntax

setItalic(text, mode)

Description

setItalic(text, mode) specifies whether text should be italicized.

Input Arguments

textInstantiation of the ModelAdvisor.Text class
mode

A Boolean value indicating italic formatting of text:

  • true — Italicize the text.

  • false — Do not italicize the text.

Examples

t1 = ModelAdvisor.Text('This is some text');
setItalic(t1, 'true');
Was this topic helpful?