THPDFRotationFlattenInfo Record
統計掃描的頁數、攤平的旋轉,以及被轉換的註解、目的地與結構幾何
宣告
THPDFRotationFlattenInfo= record
ScannedPageCount: Integer;
FlattenedPageCount: Integer;
TransformedAnnotationCount: Integer;
TransformedDestinationCount: Integer;
TransformedStructureGeometryCount: Integer;
end;
單元
HPDFDoc
欄位
| 欄位 | 用途 |
|---|---|
ScannedPageCount | 由頁面範圍選出並檢查過非零 /Rotate 值的頁數 |
FlattenedPageCount | 90、180 或 270 度旋轉已被烘入內容串流並重設為零的頁數 |
TransformedAnnotationCount | 經重新映射、得以留在旋轉後頁面可見區域內的註解矩形數 |
TransformedDestinationCount | 旋轉變更後重新映射的連結與書籤目的地幾何數 |
TransformedStructureGeometryCount | 為新方向調整過的結構樹幾何項目數 |
使用說明
- 用
FlattenLoadedPageRotation填入;沒有 90/180/270 旋轉的頁面只計入ScannedPageCount - 攤平會為每個受影響頁面附加補償變換、改寫頁面方框,並把 /Rotate 重設為 0,讓檢視器不再於畫面上反覆旋轉
- 需要每個可點擊區域都在方向變更後保留時,把
TransformedDestinationCount與文件的連結數比對