How do i copy two Scicharts placed vertically on grid in a application.
By now i can copy at a time single SciChart.
Attached is a runtime window where i need to copy both SciCharts with single right click on copy.
Currently i am using 3.1Version.
- Raghupathy asked 10 years ago
- You must login to post comments
Hi Raghupathy,
I would suggest subscribing to the MouseUp event on your view or on a panel where these two surfaces are placed and just export them to bitmap inside:
private void ExportToBitmapOnMouseUp(object sender, RoutedEventArgs e)
{
var bitmap1 = Surface.ExportToBitmapSource();
var bitmap2 = Surface.ExportToBitmapSource();
//TODO copy the bitmaps to clipboard
}
Hope this helps!
Best regards,
Yuriy
- Guest answered 10 years ago
-
Or ... simply using WPF's build in RenderToBitmap functionality http://weblog.west-wind.com/posts/2007/Sep/10/Rendering-a-WPF-Container-to-Bitmap
- You must login to post comments
Please login first to submit.