alexa
menu

MAUI

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

    Show / Hide Table of Contents

    Class MergeCellsRecord.MergedRegion

    This class contains information about the region of merged cells.

    Inheritance
    object
    MergeCellsRecord.MergedRegion
    Implements
    ICloneable
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.XlsIO.Parser.Biff_Records
    Assembly: Syncfusion.XlsIO.NET.dll
    Syntax
    [CLSCompliant(false)]
    public class MergeCellsRecord.MergedRegion : ICloneable

    Constructors

    MergedRegion(MergedRegion)

    Creates copy of region.

    Declaration
    public MergedRegion(MergeCellsRecord.MergedRegion region)
    Parameters
    Type Name Description
    MergeCellsRecord.MergedRegion region

    Region to copy.

    MergedRegion(int, int, int, int)

    Creates region by specified first and last rows and first and last columns.

    Declaration
    public MergedRegion(int rowFrom, int rowTo, int colFrom, int colTo)
    Parameters
    Type Name Description
    int rowFrom

    First row of the region.

    int rowTo

    Last row of the region.

    int colFrom

    First column of the region.

    int colTo

    Last row of the region.

    Properties

    CellsCount

    Returns number of cells used by

    Declaration
    public int CellsCount { get; }
    Property Value
    Type
    int

    ColumnFrom

    Read-only. First column of the region.

    Declaration
    public int ColumnFrom { get; }
    Property Value
    Type
    int

    ColumnTo

    Gets/sets last column of the region.

    Declaration
    public int ColumnTo { get; set; }
    Property Value
    Type
    int

    RowFrom

    Read-only. First row of the region.

    Declaration
    public int RowFrom { get; set; }
    Property Value
    Type
    int

    RowTo

    Gets/sets last row of the region.

    Declaration
    public int RowTo { get; set; }
    Property Value
    Type
    int

    Methods

    Clone()

    Creates a copy of the current object.

    Declaration
    public object Clone()
    Returns
    Type Description
    object

    A copy of the current object.

    Equals(MergedRegion, MergedRegion)

    Compares two merged regions.

    Declaration
    public static bool Equals(MergeCellsRecord.MergedRegion region1, MergeCellsRecord.MergedRegion region2)
    Parameters
    Type Name Description
    MergeCellsRecord.MergedRegion region1

    First region to compare.

    MergeCellsRecord.MergedRegion region2

    Second region to compare.

    Returns
    Type
    bool

    Equals(object)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current object.

    Returns
    Type Description
    bool

    True if the specified object is equal to the current object; otherwise, false.

    Overrides
    object.Equals(object)

    GetHashCode()

    Serves as a hash function for a MergedRegion object.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current object.

    Overrides
    object.GetHashCode()

    MoveRegion(int, int)

    Moves region.

    Declaration
    public void MoveRegion(int iRowDelta, int iColDelta)
    Parameters
    Type Name Description
    int iRowDelta

    Row delta.

    int iColDelta

    Column delta.

    Implements

    ICloneable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved