menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DiagramDiagramRulerBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DiagramDiagramRulerBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    DiagramDiagramRulerBuilder
    Namespace: Syncfusion.EJ2.Diagrams
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class DiagramDiagramRulerBuilder : ControlBuilder

    Constructors

    DiagramDiagramRulerBuilder()

    Declaration
    public DiagramDiagramRulerBuilder()

    DiagramDiagramRulerBuilder(DiagramDiagramRuler)

    Declaration
    public DiagramDiagramRulerBuilder(DiagramDiagramRuler model)
    Parameters
    Type Name Description
    DiagramDiagramRuler model

    Methods

    ArrangeTick(Object)

    Defines the method which is used to position and arrange the tick elements of the ruler.

    Declaration
    public DiagramDiagramRulerBuilder ArrangeTick(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    DiagramDiagramRulerBuilder

    ArrangeTick(String)

    Defines the method which is used to position and arrange the tick elements of the ruler.

    Declaration
    public DiagramDiagramRulerBuilder ArrangeTick(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    DiagramDiagramRulerBuilder

    Interval(Double)

    Defines the number of intervals to be present on each segment of the ruler.

    Declaration
    public DiagramDiagramRulerBuilder Interval(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    DiagramDiagramRulerBuilder

    MarkerColor(String)

    Defines the color of the ruler marker brush.

    Declaration
    public DiagramDiagramRulerBuilder MarkerColor(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    DiagramDiagramRulerBuilder

    Orientation(RulerOrientation)

    Defines the orientation of the ruler

    Declaration
    public DiagramDiagramRulerBuilder Orientation(RulerOrientation value)
    Parameters
    Type Name Description
    RulerOrientation value
    Returns
    Type
    DiagramDiagramRulerBuilder

    SegmentWidth(Double)

    Defines the textual description of the ruler segment, and the appearance of the ruler ticks of the ruler.

    Declaration
    public DiagramDiagramRulerBuilder SegmentWidth(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    DiagramDiagramRulerBuilder

    Thickness(Double)

    Defines the height of the ruler.

    Declaration
    public DiagramDiagramRulerBuilder Thickness(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    DiagramDiagramRulerBuilder

    TickAlignment(TickAlignment)

    Defines and sets the tick alignment of the ruler scale.

    Declaration
    public DiagramDiagramRulerBuilder TickAlignment(TickAlignment value)
    Parameters
    Type Name Description
    TickAlignment value
    Returns
    Type
    DiagramDiagramRulerBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved