Spread Windows Forms 11.0 Product Documentation
ShowNotes Method
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : ShowNotes Method
Whether to show the cell notes
Shows or hides all cell notes on the sheet.
Syntax
'Declaration
 
Public Overridable Sub ShowNotes( _
   ByVal show As Boolean _
) 
'Usage
 
Dim instance As SheetView
Dim show As Boolean
 
instance.ShowNotes(show)
public virtual void ShowNotes( 
   bool show
)

Parameters

show
Whether to show the cell notes

Return Value

Boolean: true if the notes are displayed; false otherwise
Remarks
This methods shows or hides the cell notes for an entire sheet.
Example
This example shows all notes in the notes container.
fpSpread1.ActiveSheet.Cells[0, 0].Text = "This is a note test!";

fpSpread1.ActiveSheet.SetNote(0, 0, "I am a note!");

fpSpread1.ActiveSheet.ShowNotes(true);
FpSpread1.ActiveSheet.Cells(0, 0).Text = "This is a note test!"

FpSpread1.ActiveSheet.SetNote(0, 0, "I am a note!")

FpSpread1.ActiveSheet.ShowNotes(True)
See Also

Reference

SheetView Class
SheetView Members
Note Property
GetNote Method
SetNote Method

User-Task Documentation

Adding a Note to a Cell