FPDF_StructElement_GetChildAtIndex function
- @Native<FPDF_STRUCTELEMENT Function(FPDF_STRUCTELEMENT, Int)>(FPDF_STRUCTELEMENT, ffi.Int)>()
- FPDF_STRUCTELEMENT struct_element,
- int index
Function: FPDF_StructElement_GetChildAtIndex Get a child in the structure element. Parameters: struct_element - Handle to the struct element. index - The index for the child, 0-based. Return value: The child at the n-th index or NULL on error. Comments: If the child exists but is not an element, then this function will return NULL. This will also return NULL for out of bounds indices. The |index| must be less than the FPDF_StructElement_CountChildren() return value.
Implementation
@ffi.Native<FPDF_STRUCTELEMENT Function(FPDF_STRUCTELEMENT, ffi.Int)>()
external FPDF_STRUCTELEMENT FPDF_StructElement_GetChildAtIndex(
FPDF_STRUCTELEMENT struct_element,
int index,
);