FPDFText_GetTextObject function
- @Native<FPDF_PAGEOBJECT Function(FPDF_TEXTPAGE, Int)>(FPDF_TEXTPAGE, ffi.Int)>()
- FPDF_TEXTPAGE text_page,
- int index
Experimental API. Function: FPDFText_GetTextObject Get the FPDF_PAGEOBJECT associated with a given character. Parameters: text_page - Handle to a text page information structure. Returned by FPDFText_LoadPage function. index - Zero-based index of the character. Return value: The associated text object for the character at |index|, or NULL on error. The returned text object, if non-null, is of type |FPDF_PAGEOBJ_TEXT|. The caller does not own the returned object.
Implementation
@ffi.Native<FPDF_PAGEOBJECT Function(FPDF_TEXTPAGE, ffi.Int)>()
external FPDF_PAGEOBJECT FPDFText_GetTextObject(
FPDF_TEXTPAGE text_page,
int index,
);