Spread Windows Forms 7.0 Product Documentation
GetNoteBounds(Int32,Int32) Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : GetNoteBounds(Int32,Int32) Method


row
Row index of the cell
column
Column index of the cell

Glossary Item Box

Gets the rectangle for the cell note for the specified cell if its NoteStyle is StickyNote.

Syntax

Visual Basic (Declaration) 
Public Function GetNoteBounds( _
   ByVal row As Integer, _
   ByVal column As Integer _
) As Rectangle
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)
C# 
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.
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 BasicCopy 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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.