FPDFText_IsGenerated function
- @Native<Int Function(FPDF_TEXTPAGE, Int)>(FPDF_TEXTPAGE, ffi.Int)>()
- FPDF_TEXTPAGE text_page,
- int index
Experimental API. Function: FPDFText_IsGenerated Get if a character in a page is generated by PDFium. Parameters: text_page - Handle to a text page information structure. Returned by FPDFText_LoadPage function. index - Zero-based index of the character. Return value: 1 if the character is generated by PDFium. 0 if the character is not generated by PDFium. -1 if there was an error.
Implementation
@ffi.Native<ffi.Int Function(FPDF_TEXTPAGE, ffi.Int)>()
external int FPDFText_IsGenerated(FPDF_TEXTPAGE text_page, int index);