Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

CharIndexPix Method, SftMask Object

Returns the index of the character at a given location.

Syntax

VB.NETIndexVal = object.CharIndexPix(ByVal XPosPix As Integer, ByVal YPosPix As Integer) As Integer
VBIndexVal = object.CharIndexPix(ByVal XPosPix As Long, ByVal YPosPix As Long) As Long
C#.NETint IndexVal = object.CharIndexPix(int XPosPix, int YPosPix);
VC++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 08/13/2020 - (email)
© 2024 Softel vdm, Inc.