FPDF_StructElement_Attr_GetChildAtIndex function

  1. @Native<FPDF_STRUCTELEMENT_ATTR_VALUE Function(FPDF_STRUCTELEMENT_ATTR_VALUE, Int)>(FPDF_STRUCTELEMENT_ATTR_VALUE, ffi.Int)>()
FPDF_STRUCTELEMENT_ATTR_VALUE FPDF_StructElement_Attr_GetChildAtIndex(
  1. FPDF_STRUCTELEMENT_ATTR_VALUE value,
  2. int index
)

Experimental API. Function: FPDF_StructElement_Attr_GetChildAtIndex Get a child from an attribute. Parameters: value - Handle to the value. index - The index for the child, 0-based. Return value: The child at the n-th index or NULL on error. Comments: The |index| must be less than the FPDF_StructElement_Attr_CountChildren() return value.

Implementation

@ffi.Native<
  FPDF_STRUCTELEMENT_ATTR_VALUE Function(FPDF_STRUCTELEMENT_ATTR_VALUE, ffi.Int)
>()
external FPDF_STRUCTELEMENT_ATTR_VALUE FPDF_StructElement_Attr_GetChildAtIndex(
  FPDF_STRUCTELEMENT_ATTR_VALUE value,
  int index,
);