Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: int GetLine(int)

Declaration

public int GetLine(
    int offset
)

Summary

Gets the number of the line containing the character at the specified offset.

Parameters

intoffsetOffset of the character in question.

Returns

The number of the line containing the specified character (first line is number 1).