[英]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.