Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Macro Reference > Document Object > Methods

EmEditor Macro Reference: LogicalToSerial Method

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - EmEditor Macro Reference - Document Object

LogicalToSerial Method

Converts the logical coordinates of a specified position to the one-based serial position.

[JavaScript]

nSerialPos = document.LogicalToSerial( x, y );

[VBScript]

nSerialPos = document.LogicalToSerial( x, y )

Parameters

x

Specifies the one-based horizontal (character) position.

y

Specifies the one-based vertical (line) position.

Examples

[JavaScript]

n = document.LogicalToSerial( 5, 1 );

[VBScript]

n = document.LogicalToSerial( 5, 1 )

Version

Supported on EmEditor Professional Version 17.0 or later.

Copyright © 2003-2021 by Emurasoft, Inc.