Returns the index of the character at a given location.
| C# | int IndexVal = object.CharIndexPix(int xPosPix, int yPosPix); |
| VB.NET | IndexVal = object.CharIndexPix(ByVal xPosPix As Integer, ByVal yPosPix As Integer) As Integer |
| C++ | long IndexVal = object->CharIndexPix(long xPosPix, long yPosPix); |
| C | HRESULT object->raw_CharIndexPix(long xPosPix, long yPosPix, long* IndexVal); |
object
xPosPix
An expression that evaluates to the x coordinate to be tested (in pixels).
yPosPix
An expression that evaluates to the y coordinate to be tested (in pixels).
IndexVal
Returns the index of the character at the coordinates xPosPix, yPosPix.
The CharIndexPix method returns the index of the character at a given location.
To determine the general area (such as a caption, buttons, etc.), the HitTest method can be used.
See Also SftMask Object | Object Hierarchy