Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / CopyRange Method
Example


In This Topic
    CopyRange Method
    In This Topic
    Copies the data, formatting, formulas, and notes from a block of cells on the sheet to a new location.
    Overload List
    OverloadDescription
    Copies the data, formatting, formulas, and notes from a block of cells on the sheet to a new location.  
    Example
    This example copies the data in a range of cells.
    fpSpread1.ActiveSheet.Cells[0, 0, 1, 1].Text = "Copy";
    fpSpread1.ActiveSheet.CopyRange(0, 0, 3, 0, 1, 1, true);
    FpSpread1.ActiveSheet.Cells(0, 0, 1, 1).Text = "Copy"
    FpSpread1.ActiveSheet.CopyRange(0, 0, 3, 0, 1, 1, True)
    See Also