Spread Windows Forms 9.0 Product Documentation
ShowNotes Method
Example 


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)
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SheetView Class
SheetView Members
Note Property
GetNote Method
SetNote Method

User-Task Documentation

Adding a Note to a Cell

 

 


Copyright © GrapeCity, inc. All rights reserved.