Javascript: TXTextControl.ParagraphFormat.getPageBreakBefore Method

If this property is set to true, the paragraph is always displayed on top of 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> ParagraphFormat.getPageBreakBefore(<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 indicating whether is always displayed on top of a page.

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