Spread Windows Forms 10.0 Product Documentation
UpdateNotes(Int32,Int32,Boolean) Method
Example 


Syntax
'Declaration
 
Public Overloads Sub UpdateNotes( _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal regenerateNote As Boolean _
) 
'Usage
 
Dim instance As SheetView
Dim row As Integer
Dim column As Integer
Dim regenerateNote As Boolean
 
instance.UpdateNotes(row, column, regenerateNote)
public void UpdateNotes( 
   int row,
   int column,
   bool regenerateNote
)

Parameters

row
column
regenerateNote
Remarks
The AutoUpdateNotes property gets or sets whether the Spread component updates the location and appearance of notes when handling event notifications generated by changes made to the component. Use the UpdateNotes methods to tell the component to update the location and appearance of notes after having turned off automatic updates with AutoUpdateNotes. These members can be used together to make code that loops through lots of ranges of cells and sets properties much faster by eliminating redundant updates of the cell notes, especially if there are lots of rows in the sheet or lots of cell notes or both.
Example
This example uses the UpdateNotes method.
fpSpread1.ActiveSheet.AutoUpdateNotes =  false;
fpSpread1.Sheets[0].UpdateNotes(1, 1, true);
FpSpread1.ActiveSheet.AutoUpdateNotes = False
FpSpread1.Sheets(0).UpdateNotes(1, 1, 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
Overload List
AutoUpdateNotes Property

User-Task Documentation

Adding a Note to a Cell

 

 


Copyright © GrapeCity, inc. All rights reserved.