將串行位置轉換為邏輯坐標,并檢索在 Point 對象中的位置。
point = document.SerialToLogical( nSerialPos );
point = document.SerialToLogical( nSerialPos )
nSerialPos
指定串行位置,它是從整個文字開頭的字元的基于一個索引。
point = document.SerialToLogical( 10 );
x = point.x;
y = point.y;
point = document.SerialToLogical( 10 )
x = point.x
y = point.y
支持 EmEditor Professional 17.0 或之後的版本。