Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

setColHeadingValign

Class: ModelAdvisor.Table
Package: ModelAdvisor

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');
Was this topic helpful?