Sets a value indicating whether a page break is allowed within the paragraph.

<void> ParagraphFormat.setKeepLinesTosether(<boolean> keepLinesTogether, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
keepLinesTogether Specifies whether a page break is allowed within the paragraph.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.