Enum DiagramExportFormat
The image format produced by ExportDiagram(DiagramExportOptions?).
Namespace: Syncfusion.Maui.Diagram
Assembly: Syncfusion.Maui.Diagram.dll
Syntax
public enum DiagramExportFormat
Remarks
Mirrors EJ2 Diagram's ExportOptions.format string values, verified directly against the
exportDiagram implementation in ej2.min.js: it checks "SVG"===format,
"JPG"===format, and "BMP"===format explicitly, and falls back to a plain
canvas.toDataURL() (PNG) for anything else — including when format is omitted entirely.
DiagramExportOptionsJsonConverter relies on that fallback and omits the JSON
format property for Png rather than writing a literal "PNG" (which the bundle
never actually checks for).
Fields
| Name | Description |
|---|---|
| Bmp | Bitmap. |
| Jpg | JPEG. |
| Png | Portable Network Graphics. The default when no format is specified. |
| Svg | Inline SVG markup rather than a raster image. |