Spread Windows Forms 11.0 Product Documentation
GetNoteBounds Method
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : GetNoteBounds Method
Gets the rectangle for the cell note for the specified cell if its NoteStyle is StickyNote.
Overload List
OverloadDescription
Gets the rectangle for the cell note for the specified cell if its NoteStyle is StickyNote.  
Example
This example returns the bounds of the note.
fpSpread1.ActiveSheet.SetNote(2, 0, "Head of Development");
fpSpread1.ActiveSheet.Cells(2, 0).NoteStyle = FarPoint.Win.Spread.NoteStyle.StickyNote;
Rectangle r = fpSpread1.ActiveSheet.GetNoteBounds(2, 0);
MessageBox.Show(r.Height.ToString());
FpSpread1.ActiveSheet.SetNote(2, 0, "Head of Development")
FpSpread1.ActiveSheet.Cells(2, 0).NoteStyle = FarPoint.Win.Spread.NoteStyle.StickyNote
Dim r As Rectangle = FpSpread1.ActiveSheet.GetNoteBounds(2, 0)
MessageBox.Show(r.Height.ToString())
See Also

Reference

SheetView Class
SheetView Members