Show/Hide Toolbars

EmEditor Help

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

EmEditor Macro Reference: SerialToLogical Method

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

SerialToLogical Method

Converts a serial position to the logical coordinates, and retrieves the position in the Point object.


point = document.SerialToLogical( nSerialPos );


point = document.SerialToLogical( nSerialPos )



Specifies the serial position, which is one-based index of the character from the beginning of the entire text.



point = document.SerialToLogical( 10 );

x = point.x;

y = point.y;


point = document.SerialToLogical( 10 )

x = point.x

y = point.y


Supported on EmEditor Professional Version 17.0 or later.

Copyright © 2003-2021 by Emurasoft, Inc.