Never mind - I'm an idiot.

Answer staring me in the face in the JavaDocs. RTFM.

Thanks anyway,


- Terry

Quoting [EMAIL PROTECTED] on Tue, 22 Jun 2004 09:20:22 +0000:

> Hi All,
>
> I'm a newbie to iText, and I am trying to create an
> index page
> similar to the following:
>
> First topic .......... 1
> 2nd top .............. 2
> No.3 ................. 3
>
> The alignment of text is easy enough, but to
> generate the correct
> number of 'dots' between an entry and its page
> number, I need to find
> the width of the two strings (in pixels). And there
> lies my problem -
> I don't know how to do this in iText.
>
> Has anyone got any ideas? Any help would be greatly
> appreciated...
>
> Thanks!
>
>
> - Terry
>
>


Reply via email to