alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class DiagramExportFormat

    The image format produced by ExportDiagram(DiagramExportOptions).

    Inheritance
    System.Object
    DiagramExportFormat
    Namespace: Syncfusion.Maui.Diagram
    Assembly: Syncfusion.Maui.Diagram.dll
    Syntax
    public sealed class DiagramExportFormat : Enum
    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

    Bmp

    Bitmap.

    Declaration
    public const DiagramExportFormat Bmp
    Field Value
    Type
    DiagramExportFormat

    Jpg

    JPEG.

    Declaration
    public const DiagramExportFormat Jpg
    Field Value
    Type
    DiagramExportFormat

    Png

    Portable Network Graphics. The default when no format is specified.

    Declaration
    public const DiagramExportFormat Png
    Field Value
    Type
    DiagramExportFormat

    Svg

    Inline SVG markup rather than a raster image.

    Declaration
    public const DiagramExportFormat Svg
    Field Value
    Type
    DiagramExportFormat
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved