Example of Exporting in Blazor Diagram Component
This sample demonstrates how to export a Diagram as an image.
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.