reportlab 嘗試

1 inch = 2.5cm 1 point = 1/72 inch Setting the Page Size 8.5 inch = 8.5*72 = 612.0 point 1 cm = 28.34 points from reportlab.lib.pagesizes import LETTER canvas = Canvas("hello.pdf", pagesize=LETTER)  
相關文章
相關標籤/搜索