WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TextRangesHolder - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TextRangesHolder

    Represents a part text from paragraph with formatting. Text ranges inside this class is a only references to textranges in original document.

    Inheritance
    System.Object
    TextRangesHolder
    Implements
    System.Collections.IEnumerable
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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 Description
    System.Int32

    EndCut

    Gets / sets number of characters to cut at the end.

    Declaration
    public int EndCut { get; set; }
    Property Value
    Type Description
    System.Int32

    StartCut

    Gets / sets number of characters to cut at the begining.

    Declaration
    public int StartCut { get; set; }
    Property Value
    Type Description
    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

    Extension Methods

    EnumerableExtensions.GetElementType(IEnumerable)
    EnumerableExtensions.GetItemPropertyInfo(IEnumerable)
    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    QueryableExtensions.OfQueryable(IEnumerable)
    QueryableExtensions.OfQueryable(IEnumerable, Type)
    QueryableExtensions.GroupByMany<TElement>(IEnumerable, Type, List<Func<TElement, Object>>)
    QueryableExtensions.GroupByMany(IEnumerable, Type, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Dictionary<String, IComparer<Object>>, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Func<String, Expression>, String[])
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved