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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also