Spread Windows Forms 6.0 Product Documentation
CopyRange Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : CopyRange Method


Glossary Item Box

Copies the data, formatting, formulas, and notes from a block of cells on the sheet to a new location.

Overload List

OverloadDescription
CopyRangeCopies 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.
C#Copy Code
fpSpread1.ActiveSheet.Cells[0, 0, 1, 1].Text = "Copy";
fpSpread1.ActiveSheet.CopyRange(0, 0, 3, 0, 1, 1, true);
Visual BasicCopy Code
FpSpread1.ActiveSheet.Cells(0, 0, 1, 1).Text = "Copy"
FpSpread1.ActiveSheet.CopyRange(0, 0, 3, 0, 1, 1, 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.