Table of Contents

Method GetPositionOfLineAndCharacter

Namespace
Alternet.Common.TypeScript.Compiler
Assembly
Alternet.Common.TypeScript.v9.dll

GetPositionOfLineAndCharacter(string, Point)

Converts given position into absolute text coordinates.

public int GetPositionOfLineAndCharacter(string fileName, Point position)

Parameters

fileName string

File name containing source code.

position Point

Given coordinate.

Returns

int

Absolute position.