ListCaptions.getCaptionsWidth

Syntax

getCaptionsWidth();

Description

The getCaptionsWidth method returns total width of all titles not including margins.

Example

Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).

// Get tree titles
caps = Tree.getCaptions();
// Get title width
caps.getCaptionsWidth();

After executing the example total title width if obtained.

See also:

ListCaptions