FPDF_StructTree_GetChildAtIndex method
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
FPDF_STRUCTELEMENT FPDF_StructTree_GetChildAtIndex(
FPDF_STRUCTTREE struct_tree,
int index,
) {
return _FPDF_StructTree_GetChildAtIndex(struct_tree, index);
}