Currently large diagrams are hard to export with good quality because of the memory limitation in WritableBitmap when the DPI is increased. -- One option is to use BitMapCacheBrush (discussed here http://www.telerik.com/forums/low-resolution-using-exporttoimage-on-big-diagram) -- Another option is to export multiple images of the diagram which cover it all. Then possibly combine these pictures into one. -- Also , you can try increasing the operating memory of your Visual Studio
This feature is already available. No additional API was introduced. Instead, only the built-in export was improved internally. You can use the ExportToImage() method of the diagram.
For versions prior R1 2022 (before this improvement was introduced), you can use the custom approach in the ExportToHighQualityImage SDK example.
Regards,
Martin Ivanov
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Please check out the following SDK sample which addresses this scenario:
https://github.com/telerik/xaml-sdk/tree/master/Diagram/ExportToHighQualityImage
Is this feature available in latest version.
Currently large diagrams are hard to export with good quality also because of the memory limitation in WritableBitmap when the size of image is increased leaving DPI at 96d. (default) In attachment the same shape, with default dpi, exported on small diagram (300 x 150px) and on a big diagram (6100 x 6100 px) and repro sample started from github xaml-sdk repository.