Class RulerOrientation
Specifies the orientation(direction) for both horizontal and vertical rulers.
Inheritance
System.Object
RulerOrientation
Namespace: Syncfusion.Blazor.Diagrams
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class RulerOrientation : Enum
Examples
<SfDiagram Height="600px">
<DiagramRulerSettings ShowRulers = "true" >
< HorizontalRuler Orientation="RulerOrientation.Vertical"></HorizontalRuler>
<VerticalRuler Orientation = "RulerOrientation.Horizontal" ></ VerticalRuler >
</ DiagramRulerSettings >
</ SfDiagram >
Fields
Horizontal
Sets the orientation of both the rulers to horizontal.
Declaration
public const RulerOrientation Horizontal
Field Value
Type | Description |
---|---|
RulerOrientation |
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |
Vertical
Sets the orientation of both the rulers to vertical.
Declaration
public const RulerOrientation Vertical
Field Value
Type | Description |
---|---|
RulerOrientation |