Javascript: TXTextControl.ParagraphFormat.getKeepLineTogether Method

Gets a value indicating whether a page break is allowed within the paragraph. If the property's value is true, a page break is not allowed. Otherwise, it is allowed. 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> ParagraphFormat.getKeepLineTogether(<function> callback);
Parameter Description
callback

A function with one parameter. The callback function is called with the value as parameter upon receiving the information from the server. This parameter is a value indicating whether a page break is allowed within the paragraph.

Remarks

The property's default value is false. The property returns its default value, if the text selection contains multiple paragraphs with different values for this property.

See Also