void AutoMerge( IRange range, AutoMergeDirection direction, AutoMergeMode mode, AutoMergeSelectionMode selectionMode )
Parameters
- range
- The auto merge range.
- direction
- The auto merge direction. The default value is AutoMergeDirection.Column. Specially, if the direction is AutoMergeDirection.None, the auto merge for the range will be canceled.
- mode
- The auto merge mode. The default value is AutoMergeMode.Free.
- selectionMode
- The auto merge selection mode. The default value is AutoMergeSelectionMode.Source.