DetachStructTreeCursorAnnot
标记 PDF、结构修复
描述
删除指向 PageNumber 上注释 AnnotIndex 的匹配 /Type /OBJR 子项
语法
Delphi
Function TPDFlib.DetachStructTreeCursorAnnot(CursorID, PageNumber, AnnotIndex: Integer): Integer;参数
| CursorID | 有效的结构元素光标 |
|---|---|
| PageNumber | 1 基准页码 |
| AnnotIndex | Page /Annots 中的 1 基准注释索引 |
返回值
至少删除一个匹配 OBJR 时返回 1,否则返回 0
备注
陈旧的注释 /StructParent 键将在下一次 ReconcileStructParentTree 调用中剔除