Example: clear method

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

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

Related information

clear method