HeaderPane
Main
Hide
Share Link
Print

GetCharIndexFromPosition Method, SftMask Class

Returns the position of the character closest to a location.

Class: SftMask
Namespace: Softelvdm.SftMaskNET
Assembly: Softelvdm.SftMaskNET

Syntax

public int GetCharIndexFromPosition( Point point );
Public Function GetCharIndexFromPosition( ByVal point As Point ) As Integer

Parameters

point

The location in client coordinates.

Return Value

The zero-based boundary between positions (from 0 to the number of positions) closest to the location.

Comments

Returns the position of the character closest to a location.

See Also SftMask Class | Classes | SftMask/NET 3.0