Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic

C#
Visual Basic

Azuki 1.7 Documentation
Document..::..GetLineLength Method (Int32, Boolean)
Document Class See Also Send Feedback

Gets length of the logical line.

Namespace: Sgry.Azuki
Assembly: Azuki (in Azuki.dll) Version: 1.7.13.40248

# Syntax

C#
    public int GetLineLength(
    	int lineIndex,
    	bool includesEolCode
    )

Visual Basic
    Public Function GetLineLength (
    	lineIndex As Integer,
    	includesEolCode As Boolean
    ) As Integer

#### Parameters

lineIndex
  Type: System..::..Int32
  Index of the line of which to get the length.

includesEolCode
  Type: System..::..Boolean
  Whether EOL codes should be count or not.

#### Return Value

Type: Int32
Length of the specified line in character count.

# Remarks

This method retrieves length of logical line. If includesEolCode was true, this method count EOL code as line content.

# Exceptions

Exception | Condition
--- | ---
System..::..ArgumentOutOfRangeException | Specified index is out of valid range.

# See Also

Document Class
Document..::..Document Members
GetLineLength Overload
Sgry.Azuki Namespace