Re: [iText-questions] Height of the paragraph.

2008-02-15 Thread nmwp
1T3XT info wrote: > >> How to get the height of the paragraph? > > The height of a paragraph is defined by the leading. > Search for methods getLeading and setLeading. > That doesn't work if paragraph is few lines long. My paragraph is about 5 lines long and I need to get it's total height an

[iText-questions] Height of the paragraph.

2008-02-15 Thread nmwp
How to get the height of the paragraph? Is there a way to remove all document content (before closing it) so that writer's method getVerticalPosition would return the initial value like at the begining when document is empty? -- nmwp -- View this message in context: http://www.nabbl