This example sets the dropped capital of the second paragraph to occupy 3 lines.
TextDropCap dropCap = document.getParagraphs().item(2).getDropCap(); dropCap.enable(); dropCap.setLinesToDrop(3);
Related information
LinesToDrop property