Show/Hide Toolbars

EmEditor Help

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

EmEditor Macro Reference: LogicalToView Method

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

LogicalToView Method

Converts the logical coordinates of a specified position to the display coordinates, and retrieves the position in the Point object.


point = document.LogicalView( x, y );


point = document.LogicalView( x, y )



Specifies the one-based horizontal (character) position.


Specifies the one-based vertical (line) position.



point = document.LogicalToView( 10, 1 );

x = point.x;

y = point.y;


point = document.LogicalToView( 10, 1 )

x = point.x

y = point.y


Supported on EmEditor Professional Version 17.0 or later.

Copyright © 2003-2021 by Emurasoft, Inc.