HeaderPane
Main
Hide
Share Link
Print

CharIndexPix Method, SftMask Object

Returns the index of the character at a given location.

Syntax

C#int IndexVal = object.CharIndexPix(int xPosPix, int yPosPix);
VB.NETIndexVal = object.CharIndexPix(ByVal xPosPix As Integer, ByVal yPosPix As Integer) As Integer
C++long IndexVal = object->CharIndexPix(long xPosPix, long yPosPix);
CHRESULT object->raw_CharIndexPix(long xPosPix, long yPosPix, long* IndexVal);

object

A SftMask 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.

Comments

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


Last Updated 11/15/2026 - (email)
© 2026 Softel vdm, Inc.