Table of Contents

Class TextSpan

Namespace
Alternet.Common.TypeScript.Types
Assembly
Alternet.Common.TypeScript.v9.dll

Represents a span within the text.

public class TextSpan
Inheritance
TextSpan

Constructors

TextSpan(int, int)

Initializes a new instance of the TextSpan class with specified parameters.

Properties

End

Gets end of the span.

Length

Gets length of the span.

Start

Gets starting point of the span.

Methods

Contains(int)
FromJs(dynamic)

Gets TextSpan from JS object.

ToString()

Returns the string that represents current TextSpan object.