Example of Exporting in Blazor Diagram Component

Diagram / Export and Print / Export

This sample demonstrates how to export a Diagram as an image.

Loading Syncfusion Blazor Server Demos…

Export Settings
File Format
Export Mode
Multiple/Single Page
Clip
X
Y
Width
Height

This example shows how to export the Diagram in image formats (*.jpeg, *.png) and SVG format. Use the DiagramExportFormat property to specify the desired export format. The ExportAsync method enables exporting by accepting options such as file formats, export mode, and the region to export. The MultiplePage property allows multi-page export control, while the ClipBounds property in DiagramExportSettings defines the specific region to export.

Transform your Blazor web apps today with Syncfusion® Blazor components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE