JVCL Help:TJvCustomRichEdit.GetLineIndex

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Retrieves the character index of the first character of a specific line.


Pascal

 functionGetLineIndex(LineNo: Integer): Integer;


Parameters

Parameters Description
LineNo: Integer Specifies the zero-based line number. A value of –1 specifies the current line number (the line that contains the caret).


Return Value

Returns the character index of the line specified in the LineNo parameter, or –1 if the specified line number is greater than the number of lines in the rich edit control.


Description

Call GetLineIndex to retrieve the character index of the first character of the line specified by the LineNo parameter in the rich edit control. A character index is the zero-based index of the character from the beginning of the control.


See Also

TJvCustomRichEdit.GetLineLength


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page