Spread能否将默认的粘贴选项设为只粘贴值?不粘贴背景颜色
当Spread中的单元格有背景颜色时,再复制其内容,粘贴后颜色也跟着粘贴了。
Spread能否将默认的粘贴选项设为只粘贴内容,不粘贴背景颜色?
inputmap1 = fpSpread1.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenFocused);
inputmap1.Remove(new FarPoint.Win.Spread.Keystroke(Keys.C, Keys.ControlKey));
inputmap1.Put(new FarPoint.Win.Spread.Keystroke(Keys.C, Keys.ControlKey), FarPoint.Win.Spread.SpreadActions.ClipboardCopyValues);
页:
[1]