Gets 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
Return Value
MergePolicy setting that specifies if and how cells in this row are automatically merged
Example
This example returns the merge policy for the model.
C# | Copy Code |
---|
FpSpread1.ActiveSheetView.Cells[0, 0, 0, 3].Text = "Test";
FpSpread1.ActiveSheetView.SetRowMerge(0, FarPoint.Web.Spread.Model.MergePolicy.Always);
FarPoint.Web.Spread.Model.MergePolicy mp;
mp = FpSpread1.ActiveSheetView.GetRowMerge(0);
Response.Write(mp.ToString());
|
Visual Basic | Copy Code |
---|
FpSpread1.ActiveSheetView.Cells(0, 0, 0, 3).Text = "Test"
FpSpread1.ActiveSheetView.SetRowMerge(0, FarPoint.Web.Spread.Model.MergePolicy.Always)
Dim mp As FarPoint.Web.Spread.Model.MergePolicy
mp = FpSpread1.ActiveSheetView.GetRowMerge(0)
Response.Write(mp.ToString()) |
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also