FlexSheet for WPF | ComponentOne
C1.WPF.FlexGrid Namespace / C1FlexGrid Class / SetClipString Method
Text to parse into the grid.
Range where the text will be pasted.
Whether the string contains header information that should be discarded when applying the values to the cells.

In This Topic
    SetClipString Method
    In This Topic
    Parses a string into rows and columns and applies the content to a given range.
    Syntax
    'Declaration
     
    
    Public Sub SetClipString( _
       ByVal text As String, _
       ByVal rng As CellRange, _
       ByVal copyMode As ClipboardCopyMode _
    ) 
    public void SetClipString( 
       string text,
       CellRange rng,
       ClipboardCopyMode copyMode
    )

    Parameters

    text
    Text to parse into the grid.
    rng
    Range where the text will be pasted.
    copyMode
    Whether the string contains header information that should be discarded when applying the values to the cells.
    Remarks

    The string contains rows delimited by newline characters and cells delimited by tabs (standard clipboard format).

    Only the top left cell of the rng parameter is used; the number of rows and columns copied to the grid is determined by the content of the text parameter.

    See Also