New to Telerik UI for Blazor? Download Free 30-day trial
Diagram - Export
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
meridian
- Export.razor
Loading the demo source code...please wait.
Description
This demo shows how to export the Telerik Blazor Diagram as a PDF document or a PNG image using the ExportToPdfAsync and ExportToPngAsync methods.
Select the desired format from the Export dropdown above the Diagram to trigger the export and download the file.
This Blazor Diagram Export example is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik UI for Blazor components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for Blazor or ThemeBuilder.