.. highlightlang:: us .. index:: EdGetPosFromLine .. _edgetposfromline: EdGetPosFromLine ================ .. us.tag EdGetPosFromLine EdGet New400 :ref:`EdGetPosFromLine` returns the position of the given line. The position is the number of characters from the beginning of the file. .. function:: nPos = EdGetPosFromLine(hEdit, nLine) .. us.return **Return Value** *nPos* is the position of the first character of the given line. .. us.params **Parameters** .. uparam:: hEdit Identifies the editor. .. uparam:: nLine *nLine*. .. seealso:: :ref:`overview-editors`, :ref:`EdGetLineFromPos`, :ref:`EdGetCurrentPos`, :ref:`EdGetCursorPos` :sub:`id-1084754`