FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : GetNote Method |
'Declaration Public Function GetNote( _ ByVal row As Integer, _ ByVal column As Integer _ ) As String
Exception | Description |
---|---|
System.ArgumentOutOfRangeException | Specified row index is out of range; must be between 0 and the total number of rows |
System.ArgumentOutOfRangeException | Specified column index is out of range; must be between 0 and the total number of columns |
fpSpread1.ActiveSheet.Cells[0, 0, 1, 1].Value = 20; fpSpread1.ActiveSheet.SetFormula(2, 0, "Sum(A1:B1)"); object o, o1; o = fpSpread1.ActiveSheet.GetFormula(2, 0); fpSpread1.ActiveSheet.SetNote(2, 0, o.ToString()); o1 = fpSpread1.ActiveSheet.GetNote(2,0); listBox1.Items.Add(o1.ToString());
FpSpread1.ActiveSheet.Cells(0, 0, 1, 1).Value = 20 FpSpread1.ActiveSheet.SetFormula(2, 0, "Sum(A1:B1)") Dim o, o1 As Object o = FpSpread1.ActiveSheet.GetFormula(2, 0) FpSpread1.ActiveSheet.SetNote(2, 0, o.ToString()) o1 = FpSpread1.ActiveSheet.GetNote(2, 0) ListBox1.Items.Add(o1.ToString())
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
SheetView Class
SheetView Members
Note Property
SetNote Method
ShowNotes Method