Main Content

setHeadingAlign

Specify table title alignment

Syntax

setHeadingAlign(table, alignment)

Description

setHeadingAlign(table, alignment) specifies the alignment for the table title.

Input Arguments

table

Instantiation of the ModelAdvisor.Table class

alignment

Table title alignment, specified as one of the following:

  • 'left' (default)

  • 'right'

  • 'center'

Examples

table1 = ModelAdvisor.Table(2, 3);
setHeading(table1, 'New Table');
setHeadingAlign(table1, 'center');