Gets char-index of the char at the point specified by location in the virtual space.

Namespace: Sgry.Azuki
Assembly: Azuki (in Azuki.dll) Version: 1.7.13.40248

Syntax

C#
int GetIndexFromVirPos(
	IGraphics g,
	Point pt
)
Visual Basic
Function GetIndexFromVirPos ( 
	g As IGraphics,
	pt As Point
) As Integer

Parameters

g
Type: Sgry.Azuki..::..IGraphics
pt
Type: System.Drawing..::..Point

Return Value

Type: Int32
The index of the char or -1 if invalid point was specified.

See Also