THotPDF.AppendStructureMarkedContent Method
透過 MCR 字典與頁面 ParentTree,把一個頁面本地的 MCID 關聯到既有結構元素
宣告
procedure AppendStructureMarkedContent(
StructElem: THPDFDictionaryObject;
PageIndex, MCID: Integer);
參數
| 名稱 | 用途 |
|---|---|
StructElem | 由 AddStructureElement 傳回的既有結構元素 |
PageIndex | 擁有該標記內容之頁面的 0 起始索引 |
MCID | 頁面上唯一的非負標記內容識別碼 |
使用說明
- 此方法會把
<</Type /MCR /Pg ... /MCID ...>>附加到結構元素的K陣列 - 頁面會取得或重用其
StructParents鍵 - 無效頁面、負 MCID、nil 元素以及非陣列的
K條目都會被拒絕