Table of Contents

Method DisplayToScreen

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

DisplayToScreen(int, int)

Converts given display coordinates, index of line and character, to screen coordinates.

public virtual Point DisplayToScreen(int x, int y)

Parameters

x int

Index of character in the line.

y int

Index of line.

Returns

Point

The Point representing screen coordinate.

Remarks

Display coordinate represents point in SyntaxEdit control, it may be different from text coordinate due to tabulations, wordwrap and outlining.

DisplayToScreen(int, int, bool)

Converts given display coordinates, index of line and character, to screen coordinates.

public virtual Point DisplayToScreen(int x, int y, bool average)

Parameters

x int

Index of character in the line.

y int

Index of line.

average bool

Returns

Point

The Point representing screen coordinate.

Remarks

Display coordinate represents point in SyntaxEdit control, it may be different from text coordinate due to tabulations, wordwrap and outlining.