Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > Labels/Titles API > Methods

Labels/Titles API: getTableCaption

Scroll Prev Next More

 

Gets the table caption.

Syntax

Labels.getTableCaption(table, language)

Arguments

table

the table name.

language

the language of the caption. If the language parameter is not specified, the current language is used.

Return value

Returns the table caption. Captions can be set in the Label Editor.

Example

Get the "carscars" table caption.

 

Labels.getTableCaption("carscars");

See also:

Labels/Titles API: setTableCaption()

Miscellaneous settings: Table labels

About Labels/Titles API