Javascript: TXTextControl.SectionFormat.getColumns Method

Gets the number of columns on a page. Takes a callback function with one parameter as a parameter. The callback function is called with the value as parameter upon receiving the information from the server.

Syntax

[JavaScript]
<void> ListFormat.getColumns(<function> callback);
Parameter Description
callback

A function with one parameter is called with the number of columns on a page.

Remarks

The property's default value is 1. The property returns 0 when the text selection contains multiple sections with mixed setting.

See Also