Hello all,

I have some problems with the paragraph and the IndentationLeft. As I
understood theIndentationLeft should move the paragraph from the left
margin? If this is not the case what method should I use? I want that the
first paragraph is 2cm from the left margin, the second 4cm etc.

Heres the sample code, maybe I am just doing something wrong but the
paragraph starts always at the same distance from the left margin,
regardless what number I put for the IndentationLeft.

Paragraph p;
   try
     {
        document.newPage();
        p = new Paragraph(10,"TEST TEST",
FontFactory.getFont(FontFactory.TIMES, 10, Font.BOLD, new Color(0, 0,
255)));
        p.setKeepTogether(true);
        p.setIndentationLeft(20);
        p.add(annotation);

      }

Thanks

Greetings Damjan



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to