DetachStructTreeCursorAnnot
Tagged PDF, structure repair
Description
Removes matching /Type /OBJR kid entries pointing to annotation AnnotIndex on PageNumber
Syntax
Delphi
Function TPDFlib.DetachStructTreeCursorAnnot(CursorID, PageNumber, AnnotIndex: Integer): Integer;Parameters
| CursorID | Valid structure-element cursor |
|---|---|
| PageNumber | One-based page number |
| AnnotIndex | One-based annotation index in Page /Annots |
Return values
1 when at least one matching OBJR was removed, or 0 otherwise
Remarks
Stale annotation /StructParent keys are stripped on the next ReconcileStructParentTree call