RichText.Insert

Insert(int, string)

Inserts a specified string at a specified index position in this instance.

public RichText Insert(int startIndex, string value)
ParameterTypeDescription
startIndexInt32The start index.
valueStringThe value.

Return Value

The RichText.

Exceptions

exceptioncondition
ArgumentOutOfRangeException

See Also


Insert(int, string, TextStyle)

Inserts a specified string with specified style at a specified index position in this instance.

public RichText Insert(int startIndex, string value, TextStyle style)
ParameterTypeDescription
startIndexInt32The start index.
valueStringThe value.
styleTextStyleThe style.

Return Value

The RichText.

Exceptions

exceptioncondition
ArgumentOutOfRangeException

See Also