Table of Contents

Method XYToPosition

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

XYToPosition(long, long)

Converts the given zero based column and line number to a position.

long XYToPosition(long x, long y)

Parameters

x long

The column number.

y long

The line number.

Returns

long

The position value, or -1 if x or y was invalid.