Hello,
 
I am trying to use iText to generate a PDF fom an XML file.  My problem is I 
use a table and can't figure out how to specify column widths.  The sample 
table is like this
<table align="left" columns="2">
    <row>
        <cell>
            <phrase size="18" fontstyle="bold">Column1</phrase> 
        </cell>
        <cell>
            <phrase size="18" fontstyle="bold">Column2</phrase> 
        </cell>
    </row> 
</table>

I tried specifying the width on the cells <cell width="100">.  I also tried 
using the widths property of the table but I always get a number format 
exception when it comes to the generation - I don't know the notation for 
specifying widths in this attribute.

Can anyone help me on this problem?

James.

 
 

--------------------------------------------------------------------
This e-mail is intended solely for the addressee and is strictly confidential; 
if you are not the addressee please destroy the message and all copies. Any 
opinion or information contained in this email or its attachments that does not 
relate to the business of Kainos 
is personal to the sender and is not given by or endorsed by Kainos. Kainos is 
the trading name of Kainos Software Limited, registered in Northern Ireland 
under company number: NI19370, having its registered offices at: Kainos House, 
4-6 Upper Crescent, Belfast, BT7 1NT, 
Northern Ireland. Registered in the UK for VAT under number: 454598802 and 
registered in Ireland for VAT under number: 9950340E. This email has been 
scanned for all known viruses by MessageLabs but is not guaranteed to be virus 
free; further terms and conditions may be 
found on our website - www.kainos.com 



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to