Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / ClipboardPasteCommand Class / CanPaste Method


In This Topic
    CanPaste Method
    In This Topic
    Gets a boolean value indicating whether command can paste data from a range(s) to the specified worksheet range(s).
    Syntax
    'Declaration
     
    
    Public Shared Function CanPaste( _
       ByVal source As IWorksheet, _
       ByVal sourceRefs() As Reference, _
       ByVal target As IWorksheet, _
       ByVal targetRefs() As Reference, _
       ByVal pasteType As PasteType, _
       ByVal isCopying As Boolean, _
       ByVal uiAction As Boolean, _
       ByVal isTranspose As Boolean _
    ) As Boolean
    'Usage
     
    
    Dim source As IWorksheet
    Dim sourceRefs() As Reference
    Dim target As IWorksheet
    Dim targetRefs() As Reference
    Dim pasteType As PasteType
    Dim isCopying As Boolean
    Dim uiAction As Boolean
    Dim isTranspose As Boolean
    Dim value As Boolean
     
    value = ClipboardPasteCommand.CanPaste(source, sourceRefs, target, targetRefs, pasteType, isCopying, uiAction, isTranspose)

    Parameters

    source
    sourceRefs
    target
    targetRefs
    pasteType
    isCopying
    uiAction
    isTranspose
    See Also