Table of Contents

Method TextToScreen

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

TextToScreen(Point)

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

Point TextToScreen(Point position)

Parameters

position Point

The text coordinate Point to convert.

Returns

Point

The Point representing screen coordinate.

TextToScreen(int, int)

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

Point TextToScreen(int x, int y)

Parameters

x int

Horizontal text coordinate to convert.

y int

Vertical text coordinate to convert.

Returns

Point

The Point representing screen coordinate.

TextToScreen(Point, bool)

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

Point TextToScreen(Point position, bool lineEnd)

Parameters

position Point

Point coordinate to convert.

lineEnd bool

Boolean value indicating if the text position can be set to the end of the wrapped line.

Returns

Point

The Point representing screen coordinate.