This example shows how to set right indentation for a section.
TextSections sections = document.getSections(); TextSection section = sections.item(2); section.setRightIndent(500);
Related information
RightIndent property