TextSpan constructor

init

Constructs a new instance of TextSpan

def __init__(self):
    ...

init

Create the TextSpan

def __init__(self, start, length):
    ...
ParameterTypeDescription
startintThe start.
lengthintThe length.

Exceptions

ExceptionDescription
ArgumentOutOfRangeExceptionThrow if arguments is out of range.

See Also