Spread WPF Documentation
ClipboardCopy Method
Example 


GrapeCity.Windows.SpreadSheet.UI Namespace > SheetView Class : ClipboardCopy Method
The copied cell range.
Copies the text of a cell range to the Clipboard.
Syntax
'Declaration
 
Public Sub ClipboardCopy( _
   ByVal range As CellRange _
) 
'Usage
 
Dim instance As SheetView
Dim range As CellRange
 
instance.ClipboardCopy(range)
public void ClipboardCopy( 
   CellRange range
)

Parameters

range
The copied cell range.
Example
This example uses the ClipboardCopy 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