Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SpreadActions Class / ClipboardCopyAsString Field
Example


In This Topic
    ClipboardCopyAsString Field
    In This Topic
    Copies the selected items to the Clipboard as a string.
    Syntax
    'Declaration
     
    Public Shared ReadOnly ClipboardCopyAsString As Object
    'Usage
     
    Dim value As Object
     
    value = SpreadActions.ClipboardCopyAsString
    public static readonly object ClipboardCopyAsString
    Example
    This example uses the ClipboardCopyAsString action.
    FarPoint.Win.Spread.InputMap im;
    im = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenFocused);
    im.Put(new FarPoint.Win.Spread.Keystroke(Keys.P, Keys.None), FarPoint.Win.Spread.SpreadActions.ClipboardCopyAsString);
    Dim im As FarPoint.Win.Spread.InputMap
    im = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenFocused)
    im.Put(New FarPoint.Win.Spread.Keystroke(Keys.P, Keys.None), FarPoint.Win.Spread.SpreadActions.ClipboardCopyAsString)
    See Also