Spread WPF Documentation
ClipboardPaste(CellRange) Method
Example 


GrapeCity.Windows.SpreadSheet.UI Namespace > SheetView Class > ClipboardPaste Method : ClipboardPaste(CellRange) Method
The pasted cell range on the sheet.
Pastes content from the Clipboard to a cell range on the sheet.
Syntax
'Declaration
 
Public Overloads Sub ClipboardPaste( _
   ByVal range As CellRange _
) 
'Usage
 
Dim instance As SheetView
Dim range As CellRange
 
instance.ClipboardPaste(range)
public void ClipboardPaste( 
   CellRange range
)

Parameters

range
The pasted cell range on the sheet.
Example
This example uses the ClipboardPaste method.
GcSpreadSheet1.Sheets[0].Cells[0, 0].Text = "Copy";
GcSpreadSheet1.View.ClipboardCopy(new GrapeCity.Windows.SpreadSheet.Data.CellRange(0, 0, 1, 1));
GcSpreadSheet1.View.ClipboardPaste(new GrapeCity.Windows.SpreadSheet.Data.CellRange(2, 2, 1, 1));
GcSpreadSheet1.Sheets(0).Cells(0, 0).Text = "Copy"
GcSpreadSheet1.View.ClipboardCopy(new GrapeCity.Windows.SpreadSheet.Data.CellRange(0, 0, 1, 1))
GcSpreadSheet1.View.ClipboardPaste(new GrapeCity.Windows.SpreadSheet.Data.CellRange(2, 2, 1, 1))
See Also

Reference

SheetView Class
SheetView Members
Overload List