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

C#
Visual Basic

Azuki 1.7 Documentation
Document..::..GetTextInRangeRef Method
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 GetTextInRangeRef(
    	ref int begin,
    	ref int end
    )

Visual Basic
    Public Function GetTextInRangeRef (
    	ByRef begin As Integer,
    	ByRef 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.

This method returns the expanded range by setting parameter begin and end to actually used values.

# Exceptions

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

# See Also

Document Class
Document..::..Document Members
Sgry.Azuki Namespace
Document.GetTextInRange(int, int) method