Table of Contents

Method PositionToXY

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

PositionToXY(long)

Converts given position to a zero-based column, line number pair.

PointI PositionToXY(long pos)

Parameters

pos long

Position in the text.

Returns

PointI

Point.X receives zero based column number. Point.Y receives zero based line number. If failure returns (-1,-1).