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 |