Gets the rectangle for the cell note for the specified cell if its NoteStyle is StickyNote.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As SheetView
Dim row As Integer
Dim column As Integer
Dim value As Rectangle
value = instance.GetNoteBounds(row, column) |
Parameters
- row
- Row index of the cell
- column
- Column index of the cell
Example
This example uses the GetNoteBounds method.
C# | Copy Code |
---|
fpSpread1.Sheets[0].SetNote(0, 0, "test");
fpSpread1.Sheets[0].Cells[0, 0].NoteStyle = FarPoint.Win.Spread.NoteStyle.StickyNote;
listBox1.Items.Add(fpSpread1.Sheets[0].GetNoteBounds(0,0).ToString()); |
Visual Basic | Copy Code |
---|
FpSpread1.Sheets(0).SetNote(0, 0, "test")
FpSpread1.Sheets(0).Cells(0, 0).NoteStyle = FarPoint.Win.Spread.NoteStyle.StickyNote
listBox1.Items.Add(FpSpread1.Sheets(0).GetNoteBounds(0,0).ToString()) |
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also