Set a generic tag to the last chunk in the last line. Catch the event in a page event and there you have the rectangle with the chunk position.
Best Regards, Paulo Soares > -----Original Message----- > From: Carmona Perez, David [SMTP:[EMAIL PROTECTED] > Sent: Monday, August 04, 2003 17:21 > To: Itext-Questions (E-mail) > Subject: [iText-questions] Drawing indexes > > Hi all, > > I want to create an index, and write a paragraph and alter the paragraph a > dotted line to the page number, like in this way > > > My index > entry..................................................................... > .......Page 1 > A very long long long long long long long long long long long > long long index > entry..............................................................Page 3 > Another index > entry..................................................................... > .Page 5 > > I want to use ColumnText for the showing the index text entry text. In > order to draw the dotted line, I must know the right X coordinate of the > last line. > > Does anyone know how to get this? > -------- > David > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
