LogicalToSerial Method (Document Object)¶
Converts the logical coordinates of a specified position to the one-based serial position. x Specifies the one-based horizontal (character) position. y Specifies the one-based vertical (line) position. Supported on EmEditor Professional Version 17.0 or later.¶
[JavaScript]¶
nSerialPos = document.LogicalToSerial( x, y );
[VBScript]¶
nSerialPos = document.LogicalToSerial( x, y )
Parameters¶
Examples¶
[JavaScript]¶
n = document.LogicalToSerial( 5, 1 );
[VBScript]¶
n = document.LogicalToSerial( 5, 1 )
Version¶