[reportlab-users] very basic questions

Saketh Bhamidipati saketh.bhamidipati at gmail.com
Tue Jul 18 17:08:56 EDT 2006

On 7/18/06, bobby f <bobbyf_37 at yahoo.com> wrote:
> 1) How do I determine the dimensions of a page.
>    (I want to draw a line down the center.)

from reportlab.rl_config import defaultPageSize
PAGE_HEIGHT = defaultPageSize[1]; PAGE_WIDTH = defaultPageSize[0]

2) Does the text widget(??) wrap or do I have to
>    calculate all dimensions? (Hope not!)

Paragraphs wrap inside frames if you use the Platypus module. I'm not sure
about the plain drawString method though.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://two.pairlist.net/pipermail/reportlab-users/attachments/20060718/e415882c/attachment.html

More information about the reportlab-users mailing list