THotPDF.InsertLoadedBlankPage Method
方法摘要: THotPDF.InsertLoadedBlankPage Method
宣告
function InsertLoadedBlankPage(PageIndex: Integer; Width, Height: Single): Integer;
單元
HPDFDoc
參數
| 名稱 | 用途 |
|---|---|
PageIndex | 以 0 為起始的插入位置,範圍從 0 到目前已載入頁數 |
Width | 正的頁面寬度(PDF 點) |
Height | 正的頁面高度(PDF 點) |
傳回值
傳回插入頁面以 0 為起始的索引
使用說明
- Use PageIndex = LoadedPageCount to append a page
- 尺寸非正數或位置超出範圍會引發例外
- 即使頁面樹帶有繼承的
/Rotate或/CropBox,新頁面仍以直立、不裁切的方式顯示;此時頁面會取得自己的/Rotate 0或/CropBox項目
相關 API
- THotPDF
- THPDFPage
- 目錄