Example: FirstLineIndent property

This example shows how to set the first line indent for a paragraph.

  TextParagraph paragraph = document.getParagraphs().item(2);
  paragraph.setAutoFirstLineIndent(false);
  paragraph.setFirstLineIndent(100);

Related information

FirstLineIndent property