GetStructTreeCursorItemIndex
Tagged PDF, structure repair
Description
Rebuilds the depth-first structure-tree snapshot and returns the current one-based index of the cursor element
Syntax
Delphi
Function TPDFlib.GetStructTreeCursorItemIndex(CursorID: Integer): Integer;ActiveX
Function PDFlib::GetStructTreeCursorItemIndex(CursorID As Long) As LongDLL
int DLGetStructTreeCursorItemIndex(int InstanceID, int CursorID);Parameters
| CursorID | Handle of an open structure-tree cursor belonging to the selected document |
|---|
Return values
The current positive item index, or 0 when the cursor is invalid or its element is no longer reachable
Remarks
Pass the returned index to GetStructTreeItemText or GetStructTreeItemIntProperty