Example: enable method

This example enables the dropped capital format of the second paragraph.

  TextDropCap dropCap = document.getParagraphs().item(2).getDropCap();
  dropCap.enable();

Related information

enable method