Example: Protected property

This example makes the second section can not be modified from the UI.

  TextSections sections = document.getSections();
  TextSection section = sections.item(2);
  section.setProtected(true);

Related information

Protected property