Gets the character offset into the text at a given point.
a pointer to the Text object on which to operate.
the x coordinate of the point to be queried.
the y coordinate of the point to be queried.
an CoordType indicating the coordinate system in which the values should be returned.
the offset (as a int) at the point (