ListCaptions.getStretchCaptionsCount

Syntax

getStretchCaptionsCount();

Description

The getStretchCaptionsCount method returns the number of titles with relative width.

Comments

Title width is fixed, set in pixels, and relative, set in percents.

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 the number of titles with relative width
caps.getStretchCaptionsCount();

After executing the example the number of titles with relative width is obtained.

See also:

ListCaptions