Hello all,
I was trying to export my SciChartSurface to bitmap, to save in a pdf.
First I tried ExportToBitmapSource(true/false, wantedSize) method. It leaded to StackOverflowException.
Then I tried to set explicitly the Height and Width and call the parameterless ExportToBitmapSource() method. It works fine, saves fine, but for a second I see the modified Height and Width and axes.
I tried them sync and async calls too.
Have you ever met these kind of functioning, or is the failure in me?
On my SciChart almost everything has predefined Style. Maybe that’s why the ExportToBitmapSource(true/false, wantedSize) dies while cloning the chart inside?
- László Jancsó asked 2 years ago
-
Hi Laszlo, have you tried the latest version of SciChart (6.5.1?). If the problem still exists there, can you send us code to reproduce a bug and we will investigate?
- You must login to post comments
Hi László,
I’m writing to inform you that we have recently published the changes improving the ExportToBitmapSource() method usage when XamlRenderSurface is applied. The changes are available in SciChart v6.6.0.26595 and newer.
If this is related to your use case, please upgrade and let us know your feedback.
Here is how to get our nightly builds:
https://support.scichart.com/index.php?/Knowledgebase/Article/View/17232/37/getting-nightly-builds-with-nuget
With best regards,
Lex
- Lex answered 2 years ago
- You must login to post comments
Hi Lex,
my company currently uses 6.3 version, whenever we are going to update, I will check and send feedback.
Thanks for the answer
Best regards,
László
- László Jancsó answered 2 years ago
- last edited 2 years ago
- You must login to post comments
Please login first to submit.