GrapeCity.Windows.SpreadSheet.UI Namespace > SheetView Class > ClipboardPaste Method : ClipboardPaste(CellRange,ClipboardPasteOptions) Method |
'Declaration Public Overloads Sub ClipboardPaste( _ ByVal range As CellRange, _ ByVal option As ClipboardPasteOptions _ )
'Usage Dim instance As SheetView Dim range As CellRange Dim option As ClipboardPasteOptions instance.ClipboardPaste(range, option)
public void ClipboardPaste( CellRange range, ClipboardPasteOptions option )
GcSpreadSheet1.Sheets[0].Cells[0, 0].Text = "Copy"; GcSpreadSheet1.View.ClipboardCut(new GrapeCity.Windows.SpreadSheet.Data.CellRange(0, 0, 1, 1)); GcSpreadSheet1.View.ClipboardPaste(new GrapeCity.Windows.SpreadSheet.Data.CellRange(2, 2, 1, 1), GrapeCity.Windows.SpreadSheet.Data.ClipboardPasteOptions.Values);
GcSpreadSheet1.Sheets(0).Cells(0, 0).Text = "Copy" GcSpreadSheet1.View.ClipboardCut(new GrapeCity.Windows.SpreadSheet.Data.CellRange(0, 0, 1, 1)) GcSpreadSheet1.View.ClipboardPaste(new GrapeCity.Windows.SpreadSheet.Data.CellRange(2, 2, 1, 1), GrapeCity.Windows.SpreadSheet.Data.ClipboardPasteOptions.Values)
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