Main Content

setColHeadingValign

Specify column title vertical alignment

Syntax

setColHeadingValign(table, column, alignment)

Description

setColHeadingValign(table, column, alignment) specifies the vertical alignment of the column heading.

Input Arguments

table

Instantiation of the ModelAdvisor.Table class

column

An integer specifying the column number

alignment

Vertical alignment of the column heading. alignment can have one of the following values:

  • top (default)

  • middle

  • bottom

Examples

table1 = ModelAdvisor.Table(2, 3);
setColHeading(table1, 1, 'Header 1');
setColHeadingValign(table1, 1, 'middle');
setColHeading(table1, 2, 'Header 2');
setColHeadingValign(table1, 2, 'middle');
setColHeading(table1, 3, 'Header 3');
setColHeadingValign(table1, 3, 'middle');