Sets the formatted text in the cell on this sheet using the
FarPoint.Win.Spread.CellType.IFormatter object for the cell.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As SheetView
Dim row As Integer
Dim column As Integer
Dim value As String
instance.SetText(row, column, value) |
Parameters
- row
- Row index
- column
- Column index
- value
- Text for the specified cell
Exceptions
Remarks
Example
This example illustrates the use of this member by returning the text (formatted data) for the specified cell.
C# | Copy Code |
---|
fpSpread1.ActiveSheet.SetText(0, 0, "FarPoint");
label1.Text = "The text in the first cell is - " + fpSpread1.ActiveSheet.GetText(0, 0); |
Visual Basic | Copy Code |
---|
FpSpread1.ActiveSheet.SetText(0, 0, "FarPoint")
Label1.Text = "The text in the first cell is - " & FpSpread1.ActiveSheet.GetText(0, 0) |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also