Javascript: TXTextControl.ParagraphFormat.getKeepWithNext Method

If this property is set to true, the paragraph is displayed on the same page as its following paragraph. 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.getKeepWithNext(<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 the paragraph is displayed on the same page as its following 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