Example: insertBreak method

This example inserts a paragraph break at the end of the third paragraph.

  TextParagraph paragraph = document.getParagraphs().item(3);
  TextRange range = paragraph.getRange();
  range.insertBreak(range.getEnd(), Constant.SYMPHONY_TEXT_BREAK_PARAGRAPH);

Related information

insertBreak method