繁体   English   中英

如何使用ABCPdf更改现有PDF中页面之一的页面大小

[英]How to change the page size of one of the pages in a existing PDF using ABCPdf

我有一个现有的PDF。 整个文档的页面大小为A4。 如果我想将第二页的页面大小修改为Legal,那么如何使用ABCPdf来实现?

谢谢

你尝试过类似的东西吗?

Using yourDoc As New Doc()
  With yourDoc
        .Read (yourpath)
        .PageNumber =2
        .MediaBox.String = "Legal"
        .Save(new_path)
        .Clear()
  End With
End Using 

页面大小: http : //www.websupergoo.com/helppdfnet/source/5-abcpdf/xrect/2-properties/string.htm

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM