Spread Windows Forms 6.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 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

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