ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.SpreadBuilder Assembly / GrapeCity.SpreadBuilder.Cells Namespace / MergeArea Structure / MergeArea Constructor
The topmost row of the merged rectangular region.
The bottommost row of the merged rectangular region.
The leftmost column of the merged rectangular region.
The rightmost column of the merged rectangular region.

In This Topic
    MergeArea Constructor
    In This Topic
    Initializes a new instance of the MergeArea struct with specified cell coordinates, defining a rectangular region to be merged.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal rowFrom As UShort, _
       ByVal rowTo As UShort, _
       ByVal columnFrom As UShort, _
       ByVal columnTo As UShort _
    )
    public MergeArea( 
       ushort rowFrom,
       ushort rowTo,
       ushort columnFrom,
       ushort columnTo
    )

    Parameters

    rowFrom
    The topmost row of the merged rectangular region.
    rowTo
    The bottommost row of the merged rectangular region.
    columnFrom
    The leftmost column of the merged rectangular region.
    columnTo
    The rightmost column of the merged rectangular region.
    Exceptions
    ExceptionDescription
    Thrown when rowFrom is greater than rowTo, or columnFrom is greater than columnTo, indicating an invalid rectangular region.
    See Also