Link Search Menu Expand Document

StyleEdit.PositionFromLine Method

Explanation Find the position of the first character of a line from the line number.
Call format var pos = StyleEdit1.PositionFromLine( line )
Return value integer character position
※ Always -1 during object initialization
Arguments integer line Specify the line number starting from 0.
Exception None
Example of use
    var pos = StyleEdit1.PositionFromLine(1);
    
Related item LineFromPosition method