[reportlab-users] Image position
Stefanie Lück
lueck at ipk-gatersleben.de
Fri Jan 21 09:29:50 EST 2011
Hi!
I'm trying to add some images to my PDF with platypus:
story = []
styles = getSampleStyleSheet()
styleN = styles['Normal']
im_query = Image("src/seq.jpg", width=8*inch, height=0.025*inch)
im_query.hAlign = 'CENTER'
story.append(im_query)
doc = SimpleDocTemplate('mydoc.pdf',pagesize = letter, topMargin=0)
doc.build(story)
Is there any option to specify the Position X,Y of the image on the PDF?
Thanks in advance!
Stefanie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20110121/a713849f/attachment.html>
More information about the reportlab-users
mailing list