Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.DrawingSpace Namespace / PSObject Class / Update Method
Example


In This Topic
    Update Method (PSObject)
    In This Topic
    Causes the control to redraw invalidated region.
    Syntax
    'Declaration
     
    Public Overrides Sub Update() 
    'Usage
     
    Dim instance As PSObject
     
    instance.Update()
    public override void Update()
    Example
    This example uses the Update method.
    fpSpread1.Sheets[0].Cells[0, 0].Text = "test";
    FarPoint.Win.Spread.DrawingSpace.SpreadCameraShape test = new FarPoint.Win.Spread.DrawingSpace.SpreadCameraShape();
    test.Formula = "A1:A5";
    test.Name = "rangeimage";
    fpSpread1.Sheets[0].AddShape(test, 2, 1);
    test.Update();
    fpSpread1.Sheets(0).Cells(0, 0).Text = "test"
    Dim test As New FarPoint.Win.Spread.DrawingSpace.SpreadCameraShape()
    test.Formula = "A1:A5"
    test.Name = "rangeimage"
    fpSpread1.Sheets(0).AddShape(test, 2, 1)
    test.Update()
    See Also