Spread Windows Forms 7.0 Product Documentation
ShowNotes Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : ShowNotes Method


show
Whether to show the cell notes

Glossary Item Box

Shows or hides all cell notes on the sheet.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub ShowNotes( _
   ByVal show As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim show As Boolean
 
instance.ShowNotes(show)
C# 
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.
C#Copy Code
fpSpread1.ActiveSheet.Cells[0, 0].Text = "This is a note test!";

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

fpSpread1.ActiveSheet.ShowNotes(true);
Visual BasicCopy Code
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 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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