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

C#
Visual Basic

Azuki 1.7 Documentation
Document..::..GetMarkedText Method
Document Class See Also Send Feedback

Gets text part marked with specified ID at specified index.

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

# Syntax

C#
    public string GetMarkedText(
    	int index,
    	int markingID
    )

Visual Basic
    Public Function GetMarkedText (
    	index As Integer,
    	markingID As Integer
    ) As String

#### Parameters

index
  Type: System..::..Int32
  The marked text part at this index will be retrieved.

markingID
  Type: System..::..Int32
  The text part marked with this ID will be retrieved.

#### Return Value

Type: String
The text if found, otherwise null.

# Exceptions

Exception | Condition
--- | ---
System..::..ArgumentOutOfRangeException | Parameter index is out of valid range. - OR - Parameter markingID is out of valid range.
System..::..ArgumentException | Parameter markingID is not registered in Marking class.

# See Also

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