MESCIUS SPREAD for Windows Forms 15.0J
ClipboardCutFormatting フィールド
使用例 

選択されている項目の書式をクリップボードに切り取ります。
構文
'宣言
 
Public Shared ReadOnly ClipboardCutFormatting As Object
public static readonly object ClipboardCutFormatting
使用例
次のサンプルコードは、ClipboardCutFormattingアクションを使用します。
fpSpread1.Sheets[0].Cells[0, 0].BackColor = Color.Yellow;
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.ClipboardCutFormatting);
fpSpread1.Sheets(0).Cells(0, 0).BackColor = Color.Yellow
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.ClipboardCutFormatting)
参照

SpreadActions クラス
SpreadActions メンバ

 

 


© MESCIUS inc. All rights reserved.