THotPDF.AppendStructureMarkedContent Method
Associates one page-local MCID with an existing structure element through an MCR dictionary and the page ParentTree
声明
procedure AppendStructureMarkedContent(
StructElem: THPDFDictionaryObject;
PageIndex, MCID: Integer);
参数
| 名称 | 用途 |
|---|---|
StructElem | An existing structure element returned by AddStructureElement |
PageIndex | Zero-based page index that owns the marked content |
MCID | Non-negative marked-content identifier that is unique on the page |
使用说明
- The method appends
<>to the structure elementKarray - The page receives or reuses its
StructParentskey - Invalid pages, negative MCIDs, nil elements, and non-array
Kentries are rejected