|
I set:
pdfPara = new
Paragraph();
pdfPara.setAlignment(
Element.ALIGN_CENTER );
pdfPara.add( new Phrase(
elem.getText(),
new Font( font, ((float)charState.getFontSize()) / 2.0f, style ))); pdfPara.add( new Phrase(
elem.getText(), document.add( pdfPara
);new Font( font, ((float)charState.getFontSize()) / 2.0f, style ))); and then added a bunch of phrases to a paragraph -
and it aligned left all of the para.
Any ideas?
thanks - dave
|
