FlexSheet for WPF | ComponentOne
C1.WPF.FlexGrid Namespace / C1FlexGrid Class / GetClipString Method / GetClipString(CellRange,ClipboardCopyMode) Method
CellRange that specifies the range of cells that should be included in the string.
ClipboardCopyMode that specifies which headers should be included in the string.

In This Topic
    GetClipString(CellRange,ClipboardCopyMode) Method
    In This Topic
    Gets a range of cells as a string suitable for copying to the clipboard.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetClipString( _
       ByVal rng As CellRange, _
       ByVal copyMode As ClipboardCopyMode _
    ) As String
    public string GetClipString( 
       CellRange rng,
       ClipboardCopyMode copyMode
    )

    Parameters

    rng
    CellRange that specifies the range of cells that should be included in the string.
    copyMode
    ClipboardCopyMode that specifies which headers should be included in the string.

    Return Value

    A string with the content of the current selection. Columns are delimited by tabs and rows are delimited by new lines.
    See Also