Spread Windows Forms 12.0 Product Documentation
GetNoteBounds(Int32,Int32) Method
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : GetNoteBounds(Int32,Int32) Method
Row index of the cell
Column index of the cell
Gets the rectangle for the cell note for the specified cell if its NoteStyle is StickyNote.
Syntax
'Declaration
 
Public Function GetNoteBounds( _
   ByVal row As Integer, _
   ByVal column As Integer _
) As Rectangle
'Usage
 
Dim instance As SheetView
Dim row As Integer
Dim column As Integer
Dim value As Rectangle
 
value = instance.GetNoteBounds(row, column)
public Rectangle GetNoteBounds( 
   int row,
   int column
)

Parameters

row
Row index of the cell
column
Column index of the cell
Example
This example uses the GetNoteBounds method.
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());
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())
See Also

Reference

SheetView Class
SheetView Members