You can create a range of cells to allow you to define properties and behaviors for those cells. A range may be any set of cells.
This example code sets the Note property for a range of Cell objects.
C# |
Copy Code
|
---|---|
FarPoint.Web.Spread.Cell range1; range1 = fpSpread1.ActiveSheetView.Cells[0, 0, 2, 2]; range1.Value = "Value Here"; range1.Note = "This is the note that describes the value."; |
VB |
Copy Code
|
---|---|
Dim range1 As FarPoint.Web.Spread.Cell range1 = fpSpread1.ActiveSheetView.Cells(0, 0, 2, 2) range1.Value = "Value Here" range1.Note = "This is the note that describes the value." |