Slxe wrote:
Here's how I'm handling it:Thanks to you. you answer is right and my problem has solved.I actually based this on some code that used to be in the PlotCommands, not sure why it was taken out.PlotController.BindKeyDown(OxyKey.C, OxyModifierKeys.Control, new DelegatePlotCommand<OxyKeyEventArgs>( CopyChart_OnKeyDown)); privatevoid CopyChart_OnKeyDown( IPlotView view, IController controller, OxyKeyEventArgs args) { var chartBitmap = new Bitmap(uiPlotView.Width, uiPlotView.Height); uiPlotView.DrawToBitmap(chartBitmap, new Rectangle(0, 0, uiPlotView.Width, uiPlotView.Height)); Clipboard.SetImage(chartBitmap); }