Sets the location and dimensions for a cell note when the style sets the note to always be shown.
Syntax
Parameters
- row
- Row index of cell with note
- column
- Column index of cell with note
- x
- X-coordinate of beginning of note
- y
- Y-coordinate of beginning of note
- width
- Number of pixels in width of note
- height
- Number of pixels in height of note
Example
This example sets the location of the sticky note.
C# | Copy Code |
---|
fpSpread1.ActiveSheet.SetNote(0, 0, "Head of Development");
fpSpread1.ActiveSheet.Cells(0, 0).NoteStyle = FarPoint.Win.Spread.NoteStyle.StickyNote;
fpSpread1.ActiveSheet.SetNoteBounds(0, 0, 80, 80, 80, 80);
|
Visual Basic | Copy Code |
---|
FpSpread1.ActiveSheet.SetNote(0, 0, "Head of Development")
FpSpread1.ActiveSheet.Cells(0, 0).NoteStyle = FarPoint.Win.Spread.NoteStyle.StickyNote
FpSpread1.ActiveSheet.SetNoteBounds(0, 0, 80, 80, 80, 80) |
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