TextSpan Struct
Contents
[
Hide
]TextSpan structure
Represents the text span.
public struct TextSpan : IComparable<TextSpan>, IEquatable<TextSpan>
Constructors
| Name | Description |
|---|---|
| TextSpan(int, int) | Create the TextSpan |
Properties
| Name | Description |
|---|---|
| getEnd Get the End index. | |
| getLength Get the length. | |
| getStart Get the Start index. |
Methods
| Name | Description |
|---|---|
| static Combine(TextSpan, TextSpan) | Combines the text spans |
| static Create(int, int) | Create the TextSpan |
| static CreateEmpty() | Create the empty text span. |
| static CreateEmpty(int) | Create empty TextSpan from start position. |
| static CreateFromStartEnd(int, int) | Create the TextSpan |
| compareTo(TextSpan) | Compare with other TextSpan |
| equals(object) | Compare with other object |
| equals(TextSpan) | Compare with other TextSpan |
| getHashCode() | Get the HashCode |
| isEmpty() | Return true if length ==0. |
| toString() | Get ToString() override |
| operator == | |
| operator != |
See Also
- package com.aspose.html.toolkit.markdown.syntax.text
- package Aspose.HTML