TextSpan class

TextSpan class

Represents the text span.

The TextSpan type exposes the following members:

Constructors

ConstructorDescription
initCreate the TextSpan
initConstructs a new instance of TextSpan

Properties

PropertyDescription
startGet the Start index.
endGet the End index.
lengthGet the length.

Methods

MethodDescription
create_emptyCreate the empty text span.
create_emptyCreate empty TextSpan from start position.
is_emptyReturn true if length ==0.
combineCombines the text spans
createCreate the TextSpan
create_from_start_endCreate the TextSpan
compare_toCompare with other TextSpan
equalsCompare with other TextSpan

See Also