Table of Contents

Method GetPositionFromPos

Namespace
Alternet.Syntax.Parsers.Roslyn
Assembly
Alternet.Syntax.Parsers.Roslyn.v9.dll

GetPositionFromPos(SourceText, int)

When implemented by a class, converts given pos into Point coordinate.

Point GetPositionFromPos(SourceText text, int pos)

Parameters

text SourceText

SourceText to process.

pos int

Absolute position to convert.

Returns

Point

Point coordinate.