[reportlab-users] forms
Tim Roberts
timr at probo.com
Wed Aug 18 13:52:01 EDT 2010
Martin Weissenboeck wrote:
>
>
> I have tried to define a form using canvas.beginForm. I want to use
> this form twice on one page.
> But I could only define absolute coordinates. These two forms have
> been printed one upon the other and not one below the other.
> ...
> This is the main part of my program:
>
>
> c=canvas.Canvas("test4.pdf")
> form(c)
> c.drawString(120,300,"start")
> c.doForm("Form")
> c.doForm("Form")
> c.drawString(120,420,'end')
>
Use c.translate to change the meaning of 0,0 before you call doForm.
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20100818/5104f427/attachment.html>
More information about the reportlab-users
mailing list