相关疑难解决方法(0)

Reportlab,如何更改页面方向?

我正在创建包含许多页面的 pdf 文件。我希望第一页是纵向的,其余页面是横向的。我试过,

story.append(NextPageTemplate('landscape')) 参考

但我得到了,

ValueError: can't find template('landscape') handle_nextPageTemplate args=('landscape',)

python pdf pdf-generation reportlab

1
推荐指数
1
解决办法
2489
查看次数

标签 统计

pdf ×1

pdf-generation ×1

python ×1

reportlab ×1