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

C#
Visual Basic

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

Gets text in the range [begin, end).

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

# Syntax

C#
    public string GetTextInRange(
    	int begin,
    	int end
    )

Visual Basic
    Public Function GetTextInRange (
    	begin As Integer,
    	end As Integer
    ) As String

#### Parameters

begin
  Type: System..::..Int32

end
  Type: System..::..Int32

#### Return Value

Type: String

# Remarks

If given index is at middle of an undividable character sequence such as surrogate pair, given range will be automatically expanded to avoid dividing the pair.

If expanded range is needed, use GetTextInRangeRef(Int32%, Int32%).

# Exceptions

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

# See Also

Document Class
Document..::..Document Members
GetTextInRange Overload
Sgry.Azuki Namespace
Document..::..GetTextInRangeRef(Int32%, Int32%)