我想合併兩個PDF文檔。當我查找示例代碼時,其中一些包含GetPageRotation()函數。 GetPageRotation()函數意味着什麼,或者當我們調用這個函數時會發生什麼操作?什麼是reader.getPageRotation()in iTextSharp.text.pdf
0
A
回答
0
頁面大小以用戶單位定義。例如:A4頁面可測量595 x 842個用戶單位。有不同的方法來定義方向。如果您想將縱向頁面更改爲橫向頁面,則可以切換寬度和高度:842 x 595.但是,這不是很優雅。設置頁面旋轉要好得多。如ISO-32000中所定義,頁面旋轉有4種可能的值:0,90,180,270。另請參閱:iTextSharp how to rotate/switch page from landscape to portrait
但是,如果要合併兩個文檔,則不應該擔心頁面旋轉。類PdfCopy
和PdfSmartCopy
負責正確地獲取頁面旋轉。如果你真的需要GetPageRotation()
合併兩個PDF文件,那麼你做錯了。見How to merge documents correctly?
0
相關問題
- 1. 什麼是? in?char
- 2. Renderscript,`in`參數是什麼?
- 3. 是什麼意思「!」 in require.js
- 4. 什麼是PREMERGED dll in .net
- 5. in Rails 3什麼是「current_user」?
- 6. 什麼是.css in css?
- 7. 什麼是/ [Cc] at/in perl?
- 8. 什麼是res:// */in .net?
- 9. 什麼是ios :: in | ios :: out?
- 10. in()...它是做什麼的?
- 11. 什麼是@deprecated in java的反向
- 12. \\ $&in「str.replace(specials,」\\ $&「)」是什麼意思?
- 13. Key in EmbeddedEntity的用途是什麼?
- 14. 什麼是NOT in的HQL等價物?
- 15. 爲什麼輸出是「In foo,a = 7」?
- 16. In Common Lisp什麼是印刷表示?
- 17. 什麼是$ ArrayType $ 16008 in> net Reflector?
- 18. 什麼是MySQL中的「point-in-select」?
- 19. 這是什麼意思? * [class =「hide」] in css
- 20. 「width:whatever-left-in-the-line;」的CSS是什麼?
- 21. 這個文件是什麼? Class.php in wordpress
- 22. 這是什麼意思。 => in rails
- 23. Facebook Graph API - 什麼是Check In?
- 24. 什麼是「html-in-font」頁面?
- 25. 什麼是64b in和32b out的CRC?
- 26. thread count in process(wmic)是什麼意思
- 27. {} \是什麼意思? in find -exec sed
- 28. Javascript in bootstrap api ...什麼是!意味着
- 29. %* c in scanf() - 這是什麼意思?
- 30. 什麼是ConcurrentDictionary in Reactive Extensions .NET 3.5
itextpdf.text.pdf的&說明請刪除PDFBOX標籤,因爲這問題不是PDFBOX。 –