Sets whether or how cells in a row on this sheet that have the same content are joined into a single cell across multiple columns.
Syntax
Parameters
- row
- Row index
- value
- MergePolicy enumeration setting
Remarks
Example
This example merges all cells in a row that contain the same data.
C# | Copy Code |
---|
FpSpread1.ActiveSheetView.Cells[0, 0, 0, 3].Text = "Test";
FpSpread1.ActiveSheetView.SetRowMerge(0, FarPoint.Web.Spread.Model.MergePolicy.Always);
|
Visual Basic | Copy Code |
---|
FpSpread1.ActiveSheetView.Cells(0, 0, 0, 3).Text = "Test"
FpSpread1.ActiveSheetView.SetRowMerge(0, FarPoint.Web.Spread.Model.MergePolicy.Always) |
Requirements
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
See Also