[reportlab-users] doc.topMargin in SimpleDocTemplate

Michael Hipp michael at redmule.com
Wed Oct 12 12:33:51 EDT 2011


I'm building a simple report like this:
doc = SimpleDocTemplate(out, ...)
doc.topMargin = 1.0*inch # space for header on 1st page

I'd like to change that topMargin to 0.0 in my onLaterPages() routine, but it
seems fixed once set. Is it possible to alter it once building has started?

Thanks,
Michael




More information about the reportlab-users mailing list