Table of Contents

Method GetPositionFromPos

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

GetPositionFromPos(SourceText, int)

Converts given pos into Point coordinate.

public virtual Point GetPositionFromPos(SourceText text, int pos)

Parameters

text SourceText

SourceText to process.

pos int

Absolute position to convert.

Returns

Point

Point coordinate.