FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SpreadActions Class : ClipboardCopyShape Field |
'Declaration Public Shared ReadOnly ClipboardCopyShape As Object
'Usage Dim value As Object value = SpreadActions.ClipboardCopyShape
public static readonly object ClipboardCopyShape
FarPoint.Win.Spread.InputMap imcopy; imcopy = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenFocused); imcopy.Put(new FarPoint.Win.Spread.Keystroke(Keys.C, Keys.Control), FarPoint.Win.Spread.SpreadActions.ClipboardCopyShape); FarPoint.Win.Spread.InputMap imcut; imcut = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenFocused); imcut.Put(new FarPoint.Win.Spread.Keystroke(Keys.X, Keys.Control), FarPoint.Win.Spread.SpreadActions.ClipboardCutShape); FarPoint.Win.Spread.InputMap impaste; impaste = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenFocused); impaste.Put(new FarPoint.Win.Spread.Keystroke(Keys.V, Keys.Control), FarPoint.Win.Spread.SpreadActions.ClipboardPasteShape);
Dim imcopy As FarPoint.Win.Spread.InputMap imcopy = FpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenFocused) imcopy.Put(New FarPoint.Win.Spread.Keystroke(Keys.C, Keys.Control), FarPoint.Win.Spread.SpreadActions.ClipboardCopyShape) Dim imcut As FarPoint.Win.Spread.InputMap imcut = FpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenFocused) imcut.Put(New FarPoint.Win.Spread.Keystroke(Keys.X, Keys.Control), FarPoint.Win.Spread.SpreadActions.ClipboardCutShape) Dim impaste As FarPoint.Win.Spread.InputMap impaste = FpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenFocused) impaste.Put(New FarPoint.Win.Spread.Keystroke(Keys.V, Keys.Control), FarPoint.Win.Spread.SpreadActions.ClipboardPasteShape)
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10