MPLAB® Harmony Graphics Suite > Graphics Library > Aria Graphics Library > Aria User Interface Library Interface > a) Functions > laString_GetCharIndexAtPoint Function
MPLAB® Harmony Graphics Suite
laString_GetCharIndexAtPoint Function
C
LIB_EXPORT uint32_t laString_GetCharIndexAtPoint(
    laString* str, 
    int32_t x
);
Parameters
Parameters 
Description 
laString* str 
the string to reference 
int32_t x 
x offset in pixels 
Returns

uint32_t - character index

MPLAB® Harmony Graphics Suite