alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class RangesOperations

    Inheritance
    object
    RangesOperations
    ErrorIndicatorImpl
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.XlsIO.Implementation
    Assembly: Syncfusion.XlsIO.NET.dll
    Syntax
    public class RangesOperations

    Constructors

    RangesOperations()

    Default constructor.

    Declaration
    public RangesOperations()

    RangesOperations(List<Rectangle>)

    Creates new instance of current class.

    Declaration
    public RangesOperations(List<Rectangle> arrCells)
    Parameters
    Type Name Description
    List<Rectangle> arrCells

    Cell ranges list.

    Properties

    CellList

    Gets / sets list of the cells.

    Declaration
    public virtual List<Rectangle> CellList { get; set; }
    Property Value
    Type
    List<Rectangle>

    Methods

    AddCells(IList<Rectangle>)

    Adds cells from the collection.

    Declaration
    public void AddCells(IList<Rectangle> arrCells)
    Parameters
    Type Name Description
    IList<Rectangle> arrCells

    Cells to add to the collection.

    AddRange(Rectangle)

    Adds new cell range to the collection.

    Declaration
    public void AddRange(Rectangle rect)
    Parameters
    Type Name Description
    Rectangle rect

    Range to add.

    AddRange(IRange)

    Adds range to the collection.

    Declaration
    public void AddRange(IRange range)
    Parameters
    Type Name Description
    IRange range

    Range to add.

    AddRectangles(IList<Rectangle>)

    Adds cells from the collection.

    Declaration
    public void AddRectangles(IList<Rectangle> arrCells)
    Parameters
    Type Name Description
    IList<Rectangle> arrCells

    Cells to add to the collection.

    Clear()

    Clears internal list.

    Declaration
    public void Clear()

    Clone()

    Creates copy of the current object.

    Declaration
    public RangesOperations Clone()
    Returns
    Type Description
    RangesOperations

    Copy of the current object.

    Contains(Rectangle)

    Indicates whether collection contains specified range.

    Declaration
    public bool Contains(Rectangle range)
    Parameters
    Type Name Description
    Rectangle range

    Range to check.

    Returns
    Type Description
    bool

    True if collection contains specified range.

    Contains(Rectangle, int)

    Indicates whether collection contains specified range.

    Declaration
    public bool Contains(Rectangle range, int iStartIndex)
    Parameters
    Type Name Description
    Rectangle range

    Range to check.

    int iStartIndex

    Start index in the internal ranges collection to search from.

    Returns
    Type Description
    bool

    True if collection contains specified range.

    Contains(Rectangle[])

    Indicates whether collection contains all specified ranges.

    Declaration
    public bool Contains(Rectangle[] arrRanges)
    Parameters
    Type Name Description
    Rectangle[] arrRanges

    Ranges to check.

    Returns
    Type Description
    bool

    True if collection contains all specified ranges.

    Contains(Rectangle[], int)

    Indicates whether collection contains all specified ranges.

    Declaration
    public bool Contains(Rectangle[] arrRanges, int iStartIndex)
    Parameters
    Type Name Description
    Rectangle[] arrRanges

    Ranges to check.

    int iStartIndex

    Start index in the internal ranges collection to search from.

    Returns
    Type Description
    bool

    True if collection contains all specified ranges.

    Contains(IList<Rectangle>)

    Indicates whether collection contains all specified ranges.

    Declaration
    public bool Contains(IList<Rectangle> arrRanges)
    Parameters
    Type Name Description
    IList<Rectangle> arrRanges

    Ranges to check.

    Returns
    Type Description
    bool

    True if collection contains all specified ranges.

    Contains(IList<Rectangle>, int)

    Indicates whether collection contains all specified ranges.

    Declaration
    public bool Contains(IList<Rectangle> arrRanges, int iStartIndex)
    Parameters
    Type Name Description
    IList<Rectangle> arrRanges

    Ranges to check.

    int iStartIndex

    Start index in the internal ranges collection to search from.

    Returns
    Type Description
    bool

    True if collection contains all specified ranges.

    ContainsCount(Rectangle)

    Returns contains count for specified range.

    Declaration
    public int ContainsCount(Rectangle range)
    Parameters
    Type Name Description
    Rectangle range

    Range to check.

    Returns
    Type Description
    int

    Contains count

    GetPart(Rectangle, bool, int, int)

    Gets part of the cells.

    Declaration
    public RangesOperations GetPart(Rectangle rect, bool remove, int rowIncrement, int columnIncrement)
    Parameters
    Type Name Description
    Rectangle rect

    Rectangle to get new collection for.

    bool remove

    Indicates whether to remove cells from the collection.

    int rowIncrement

    Number of rows to add to each resulting rectangle.

    int columnIncrement

    Number of columns to add to each resulting rectangle.

    Returns
    Type
    RangesOperations

    OptimizeStorage()

    Optimize storage

    Declaration
    public void OptimizeStorage()

    Remove(Rectangle[])

    Removes range from the collection of conditional formats.

    Declaration
    public void Remove(Rectangle[] arrRanges)
    Parameters
    Type Name Description
    Rectangle[] arrRanges

    Array of ranges to remove.

    SetLength(int)

    Set maximum length

    Declaration
    public void SetLength(int maxLength)
    Parameters
    Type Name Description
    int maxLength
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved