Load diagram json data to the image on server side using c#

Hi team,

I added few annotations to Image at client side in angular,  I saved diagram JSON data to database.

now i want to load the json data to the same image at server side.

after loading i want to flatten markup on that image and save it the file storage.


Please provide solution for the above requirement.

What .net core nuget packages we have to use for this requirement?


my requirement is similar to the below link

https://www.syncfusion.com/forums/117935/how-to-convert-a-saved-diagram-to-svg-in-code-behind-no-ui


Thanks,

Dayakar.


3 Replies

GD Gobinath Dhamotharan Syncfusion Team August 8, 2023 07:55 AM UTC

Hi,

we don’t have the support to load the diagram in the server side, instead we can modify the data and resend it to client side for loading.

Regards, 

Gobinath 
 



DR Dayakar Reddy Borampeta August 8, 2023 06:34 PM UTC

Hi,

After adding shapes to the image at client side in Angular, is there anyway we can save it as flat image(along with shapes) to the file storage.

We are using .net core rest api for backend and Angular framework for frontend.

Thanks,

Dayakar.



BM Balasubramanian Manikandan Syncfusion Team August 9, 2023 10:00 AM UTC

We have attached documentation for your requirements. By utilizing the exportDiagram method, you can download an image and save it to your file storage. Please refer to the documentation attached below.

                                                                                                                                                    

Documentation

https://ej2.syncfusion.com/angular/documentation/diagram/export#exporting-options


Loader.
Up arrow icon