FPDFText_GetCharAngle function
- @Native<Float Function(FPDF_TEXTPAGE, Int)>(FPDF_TEXTPAGE, ffi.Int)>()
- FPDF_TEXTPAGE text_page,
- int index
Experimental API. Function: FPDFText_GetCharAngle Get character rotation angle. Parameters: text_page - Handle to a text page information structure. Returned by FPDFText_LoadPage function. index - Zero-based index of the character. Return Value: On success, return the angle value in radian. Value will always be greater or equal to 0. If |text_page| is invalid, or if |index| is out of bounds, then return -1.
Implementation
@ffi.Native<ffi.Float Function(FPDF_TEXTPAGE, ffi.Int)>()
external double FPDFText_GetCharAngle(FPDF_TEXTPAGE text_page, int index);