Table of Contents

Method DisplayToScreen

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

DisplayToScreen(int, int)

When implemented by a class, converts given display coordinates, index of line and character, to screen coordinates.

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 Edit control, it may be different from text coordinate due to tabulations, wordwrap and outlining.

DisplayToScreen(int, int, bool)

When implemented by a class, converts given display coordinates, index of line and character, to screen coordinates.

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 Edit control, it may be different from text coordinate due to tabulations, wordwrap and outlining.