On 8/10/2010 14:03, BM wrote:
> Ha-ha! :) OK... I mean, when I have a table of 10 colums and then if I
> get a value from document.getPageSize() and divide it by 10, then one
> column with have a width in points. So when I set column widths by
> this value back, it is same as if I set just 100% width. :-) In other
> words, setWidthPercentage(array, rectangle) accepts points.

Aha, now I understand your question.

INTERNALLY, the method changes the member value of the width percentage, 
but if you look at the method from the OUTSIDE then it is indeed 
confusing because the method is a "setter"-method, but there's no 
"percentage" in the parameters (the percentage is calculated based on 
the points that are passed implicitly with the array and the rectangle).
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to