[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IAutoMergeRangeInfo

IAutoMergeRangeInfo Interface

Represents the auto merge range information.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public interface IAutoMergeRangeInfo
Public Interface IAutoMergeRangeInfo
Examples
worksheet.Range["A1:A4"].Value = new object[,] { { "Apple" }, { "Apple" }, { "Banana" }, { "Banana" } };
worksheet.AutoMerge(worksheet.Range["A1:A4"], AutoMergeDirection.Column, AutoMergeMode.Free, AutoMergeSelectionMode.Merged);
IAutoMergeRangeInfo mergeInfo = worksheet.AutoMergeRangesInfo[0];
AutoMergeSelectionMode selectionMode = mergeInfo.SelectionMode;

Properties

Name Description
Direction

Gets or sets the auto merge direction.

Mode

Gets or sets the auto merge mode.

Range

Gets or sets the IRange object that represents the auto merge range.

SelectionMode

Gets or sets the auto merge selection mode.