[reportlab-users] Newbie -- How to center text in a paragraph
Henrique Romano
onaiort at yahoo.com.br
Fri Jun 23 11:25:03 EDT 2006
Jim Steil wrote:
> I'm having a problem yet with the centering. I have the following code:
>
> styleCentered = ParagraphStyle(name="centeredStyle", alignment="TA_CENTER",
>
TA_CENTER isn't a string, it is a constant.
from reportlab.lib.enums import TA_CENTER
styleCentered = ParagraphStyle(name="centeredStyle", alignment=TA_CENTER)
Henrique
More information about the reportlab-users
mailing list