NavigateStructTreeCursor
Tagged PDF, structure repair
Description
Moves an existing cursor through the current logical hierarchy without exposing object numbers or raw dictionaries
Syntax
Delphi
Function TPDFlib.NavigateStructTreeCursor(CursorID, Direction: Integer): Integer;ActiveX
Function PDFlib::NavigateStructTreeCursor(CursorID As Long, Direction As Long) As LongDLL
int DLNavigateStructTreeCursor(int InstanceID, int CursorID, int Direction);Parameters
| Direction | 1 selects the parent, 2 the first structure-element child, 3 the previous sibling, and 4 the next sibling |
|---|
Return values
The destination item index, or 0 when the requested relation is absent or the cursor is invalid. A failed navigation leaves the cursor unchanged