Main Content

setRowHeadingValign

Specify table row title vertical alignment

Syntax

setRowHeadingValign(table, row, alignment)

Description

setRowHeadingValign(table, row, alignment) specifies the vertical alignment for the designated table row.

Input Arguments

table

Instantiation of the ModelAdvisor.Table class

row

An integer specifying row number.

alignment

Cell vertical alignment, specified as one of the following:

  • 'top' (default)

  • 'middle'

  • 'bottom'

Examples

table1 = ModelAdvisor.Table(2, 3);
setRowHeading(table1, 1, 'Row 1 Title');
setRowHeadingValign(table1, 1, 'middle');
setRowHeading(table1, 2, 'Row 2 Title');
setRowHeadingValign(table1, 2, 'middle');