FPDF_StructTree_GetChildAtIndex function

  1. @Native<FPDF_STRUCTELEMENT Function(FPDF_STRUCTTREE, Int)>(FPDF_STRUCTTREE, ffi.Int)>()
FPDF_STRUCTELEMENT FPDF_StructTree_GetChildAtIndex(
  1. FPDF_STRUCTTREE struct_tree,
  2. int index
)

Function: FPDF_StructTree_GetChildAtIndex Get a child in the structure tree. Parameters: struct_tree - Handle to the structure tree, as returned by FPDF_StructTree_LoadPage(). index - The index for the child, 0-based. Return value: The child at the n-th index or NULL on error. The caller does not own the handle. The handle remains valid as long as |struct_tree| remains valid. Comments: The |index| must be less than the FPDF_StructTree_CountChildren() return value.

Implementation

@ffi.Native<FPDF_STRUCTELEMENT Function(FPDF_STRUCTTREE, ffi.Int)>()
external FPDF_STRUCTELEMENT FPDF_StructTree_GetChildAtIndex(
  FPDF_STRUCTTREE struct_tree,
  int index,
);