Blazor

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

    Show / Hide Table of Contents

    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved