TextBox::GetLineIndexFromCharacterIndex Method (Int32)
.NET Framework (current version)
Returns the zero-based line index for the line that contains the specified character index.
Assembly: PresentationFramework (in PresentationFramework.dll)
Parameters
- charIndex
-
Type:
System::Int32
The zero-based character index for which to retrieve the associated line index.
Return Value
Type: System::Int32The zero-based index for the line that contains the specified character index.
.NET Framework
Available since 3.0
Available since 3.0
Show: