Spread WPF 18
GrapeCity.Spreadsheet Namespace / IRange Interface / Copy Method / Copy(Boolean,Boolean) Method
true if the UI shows copying range; otherwise, only data is copied to clipboard.
true if copying excludes hidden range(s); false otherwise


In This Topic
    Copy(Boolean,Boolean) Method
    In This Topic
    Copies the data from a range of cells to clipboard.
    Syntax
    'Declaration
     
    Overloads Function Copy( _
       Optional ByVal showUI As Boolean, _
       Optional ByVal excludeHidden As Boolean _
    ) As Boolean
    'Usage
     
    Dim instance As IRange
    Dim showUI As Boolean
    Dim excludeHidden As Boolean
    Dim value As Boolean
     
    value = instance.Copy(showUI, excludeHidden)
    bool Copy( 
       bool showUI,
       bool excludeHidden
    )

    Parameters

    showUI
    true if the UI shows copying range; otherwise, only data is copied to clipboard.
    excludeHidden
    true if copying excludes hidden range(s); false otherwise

    Return Value

    true if the cell range is copied successful, false otherwise.
    See Also