Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / UpdateNotes Method / UpdateNotes(Int32,Int32) Method
Row index of cell
Column index of cell
Example


In This Topic
    UpdateNotes(Int32,Int32) Method
    In This Topic
    Updates cell note appearances based on style being set or on changes to note text.
    Syntax
    'Declaration
     
    Public Overloads Sub UpdateNotes( _
       ByVal row As Integer, _
       ByVal column As Integer _
    ) 
    'Usage
     
    Dim instance As SheetView
    Dim row As Integer
    Dim column As Integer
     
    instance.UpdateNotes(row, column)
    public void UpdateNotes( 
       int row,
       int column
    )

    Parameters

    row
    Row index of cell
    column
    Column index of cell
    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);
    fpSpread1.ActiveSheet.AutoUpdateNotes = False
    fpSpread1.Sheets(0).UpdateNotes(1, 1)
    See Also