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


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())
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

Reference

SheetView Class
SheetView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.