FPDF_StructTree_GetForPage function

  1. @Native<FPDF_STRUCTTREE Function(FPDF_PAGE page)>(FPDF_PAGE)>()
FPDF_STRUCTTREE FPDF_StructTree_GetForPage(
  1. FPDF_PAGE page
)

Function: FPDF_StructTree_GetForPage Get the structure tree for a page. Parameters: page - Handle to the page, as returned by FPDF_LoadPage(). Return value: A handle to the structure tree or NULL on error. The caller owns the returned handle and must use FPDF_StructTree_Close() to release it. The handle should be released before |page| gets released.

Implementation

@ffi.Native<FPDF_STRUCTTREE Function(FPDF_PAGE)>()
external FPDF_STRUCTTREE FPDF_StructTree_GetForPage(FPDF_PAGE page);