Returns the index of the character at a given location.
| VB.NET | IndexVal = object.CharIndexPix(ByVal XPosPix As Integer, ByVal YPosPix As Integer) As Integer |
| VB | IndexVal = object.CharIndexPix(ByVal XPosPix As Long, ByVal YPosPix As Long) As Long |
| C#.NET | int IndexVal = object.CharIndexPix(int XPosPix, int YPosPix); |
| VC++ | 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