SpreadsheetGear The Performance Spreadsheet Component Company 
Copy(IRange,PasteType,PasteOperation,Boolean,Boolean) Method
See Also 
SpreadsheetGear Namespace > IRange Interface > Copy Method : Copy(IRange,PasteType,PasteOperation,Boolean,Boolean) Method
destination
The destination range.
pasteType
Specifies what to paste.
pasteOperation
Specifies how to combine values.
skipBlanks
Specifies whether blanks in the source range should be skipped (formatted cells with no data are considered blank cells).
transpose
Specifies whether data should be transposed in the destination.
Copies the cells, rows and/or columns of the current IRange to the destination IRange using the specified options.

Syntax

C# 
virtual void Copy( 
   IRange destination,
   PasteType pasteType,
   PasteOperation pasteOperation,
   bool skipBlanks,
   bool transpose
)

Parameters

destination
The destination range.
pasteType
Specifies what to paste.
pasteOperation
Specifies how to combine values.
skipBlanks
Specifies whether blanks in the source range should be skipped (formatted cells with no data are considered blank cells).
transpose
Specifies whether data should be transposed in the destination.

Remarks

Column widths, column formats and column outlines are copied if entire columns are being copied.

Row heights, row formats and row outlines are copied if entire rows are being copied.

Requirements

Platforms: Windows Vista, Windows XP, Windows Server 2008, Windows Server 2003, Windows 2000, Windows Me and Windows 98, including 32 bit and 64 bit editions where applicable. SpreadsheetGear for .NET 1.x requires the Microsoft .NET Framework 1.1 or .NET 2.0 (works with .NET 3.x). SpreadsheetGear for .NET 2007 requires the Microsoft .NET Framework 2.0 (works with .NET 3.x).

See Also