使用 pdfcrowd 在横向模式下转换 pdf API
Convert pdf in landscape mode using pdfcrowd API
我一直在使用 pdfCrowd API 将 HTML 转换为 PDF,但转换的默认页面方向设置为纵向。那么,有什么办法可以将页面方向设置为横向。
这是代码试试看
header("Content-Type: application/pdf");
header("Cache-Control: max-age=0");
header("Landscape-mode: 3pdf,'L'");
我一直在使用 pdfCrowd API 将 HTML 转换为 PDF,但转换的默认页面方向设置为纵向。那么,有什么办法可以将页面方向设置为横向。
这是代码试试看
header("Content-Type: application/pdf");
header("Cache-Control: max-age=0");
header("Landscape-mode: 3pdf,'L'");