Completed
Last Updated: 13 Jan 2022 09:49 by ADMIN
Release R1 2022
ADMIN
Petar Mladenov
Created on: 13 May 2016 09:17
Category: Diagram
Type: Feature Request
24
Diagram: Support exporting of large Diagrams
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
4 comments
ADMIN
Martin Ivanov
Posted on: 13 Jan 2022 09:49

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/.

Petar
Posted on: 11 May 2020 11:17

Please check out the following SDK sample which addresses this scenario:

https://github.com/telerik/xaml-sdk/tree/master/Diagram/ExportToHighQualityImage

Jayanth
Posted on: 12 Nov 2018 07:24
Is this feature available in latest version. 
Claudio B.
Posted on: 20 Jun 2016 08:48
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.