Class TextRangesHolder
Represents a part text from paragraph with formatting.
Inheritance
System.Object
TextRangesHolder
Implements
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.DLS.Collections
Assembly: Syncfusion.DLS.Base.dll
Syntax
public class TextRangesHolder : IEnumerable
Constructors
TextRangesHolder()
Create a new TextRangesHolder
Declaration
public TextRangesHolder()
Properties
Count
Gets count of items.
Declaration
public int Count { get; }
Property Value
Type |
---|
System.Int32 |
EndCut
Gets / sets number of characters to cut at the end.
Declaration
public int EndCut { get; set; }
Property Value
Type |
---|
System.Int32 |
StartCut
Gets / sets number of characters to cut at the begining.
Declaration
public int StartCut { get; set; }
Property Value
Type |
---|
System.Int32 |
Methods
Add(TextRange)
Adds a new Text Range to the Holder.
Declaration
public void Add(TextRange textRange)
Parameters
Type | Name | Description |
---|---|---|
TextRange | textRange |
CopyTo(Paragraph, Int32)
Copies to the Specified Paragraph.
Declaration
public void CopyTo(Paragraph paragraph, int index)
Parameters
Type | Name | Description |
---|---|---|
Paragraph | paragraph | |
System.Int32 | index |
GetEnumerator()
Returns an enumerator that can iterate through a collection.
Declaration
public IEnumerator GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator | An System.Collections.IEnumerator that can be used to iterate through the collection. |
Implements
System.Collections.IEnumerable