Spread WPF 17
GrapeCity.Windows.SpreadSheet.UI.UndoRedo Namespace / ClipboardPasteExtent Class / ClipboardPasteExtent Constructor
The source range of the copy or cut.
The target ranges to paste.
if set to true the action is a cut; otherwise, copy.
The Clipboard text.


In This Topic
    ClipboardPasteExtent Constructor
    In This Topic
    Creates a new instance of the ClipboardPasteExtent class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal sourceRange As CellRange, _
       ByVal targetRanges() As CellRange, _
       ByVal isCutting As Boolean, _
       ByVal clipboardText As String _
    )
    'Usage
     
    Dim sourceRange As CellRange
    Dim targetRanges() As CellRange
    Dim isCutting As Boolean
    Dim clipboardText As String
     
    Dim instance As New ClipboardPasteExtent(sourceRange, targetRanges, isCutting, clipboardText)
    public ClipboardPasteExtent( 
       CellRange sourceRange,
       CellRange[] targetRanges,
       bool isCutting,
       string clipboardText
    )

    Parameters

    sourceRange
    The source range of the copy or cut.
    targetRanges
    The target ranges to paste.
    isCutting
    if set to true the action is a cut; otherwise, copy.
    clipboardText
    The Clipboard text.
    See Also