GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class : CopyTo(Int32,Int32,Int32,Int32,Int32,Int32,CopyToOption) Method |
'Declaration Public Sub CopyTo( _ ByVal fromRow As System.Integer, _ ByVal fromColumn As System.Integer, _ ByVal toRow As System.Integer, _ ByVal toColumn As System.Integer, _ ByVal rowCount As System.Integer, _ ByVal columnCount As System.Integer, _ ByVal option As CopyToOption _ )
'Usage Dim instance As Worksheet Dim fromRow As System.Integer Dim fromColumn As System.Integer Dim toRow As System.Integer Dim toColumn As System.Integer Dim rowCount As System.Integer Dim columnCount As System.Integer Dim option As CopyToOption instance.CopyTo(fromRow, fromColumn, toRow, toColumn, rowCount, columnCount, option)
public void CopyTo( System.int fromRow, System.int fromColumn, System.int toRow, System.int toColumn, System.int rowCount, System.int columnCount, CopyToOption option )
gcSpreadSheet1.Sheets[0].Cells[0, 0, 2, 2].Text = "Test";
gcSpreadSheet1.Sheets[0].CopyTo(0, 0, 3, 3, 2, 2, GrapeCity.Windows.SpreadSheet.Data.CopyToOption.Value);
GcSpreadSheet1.Sheets(0).Cells(0, 0, 2, 2).Text = "Test"
GcSpreadSheet1.Sheets(0).CopyTo(0, 0, 3, 3, 2, 2, GrapeCity.Windows.SpreadSheet.Data.CopyToOption.Value)
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6