Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RenderingMode - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class RenderingMode

    Defines the type of diagram to be rendered either Canvas or SVG.

    Inheritance
    System.Object
    RenderingMode
    Namespace: Syncfusion.Blazor.Diagrams
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public sealed class RenderingMode : Enum
    Remarks
    The following code snippet is an example to set the rendering mode to Canvas
    Examples
    <SfDiagram Mode="RenderingMode.Canvas"></SfDiagram>

    Fields

    Canvas

    Renders the diagram in Canvas element.

    Declaration
    public const RenderingMode Canvas
    Field Value
    Type Description
    RenderingMode

    SVG

    Renders the diagram in SVG element.

    Declaration
    public const RenderingMode SVG
    Field Value
    Type Description
    RenderingMode

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved