Table of Contents

Method TextPointToAbsolutePosition

Namespace
Alternet.Editor.TextSource
Assembly
Alternet.Editor.v9.dll

TextPointToAbsolutePosition(Point)

Converts given Point value to the absolute position.

public virtual int TextPointToAbsolutePosition(Point position)

Parameters

position Point

Point value where Y-Coordinate represents index of line and X-Coordinate - index of character in this line.

Returns

int

Absolute position of given point.