Class RulerSettings
Customizes the visibility and appearance of the horizontal and vertical rulers in the diagram.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript.DataVisualization.Models.Diagram
Assembly: Syncfusion.EJ.dll
Syntax
public class RulerSettings : EJTagHelper
Constructors
RulerSettings()
Declaration
public RulerSettings()
Properties
HorizontalRuler
Gets or sets horizontal ruler properties.
Declaration
[JsonProperty("horizontalRuler")]
public DiagramRuler HorizontalRuler { get; set; }
Property Value
Type | Description |
---|---|
DiagramRuler | new DiagramRuler() |
Examples
DiagramProperties Model = new DiagramProperties();
Model.RulerSettings.HorizontalRuler = new DiagramRuler();
ShowRulers
Gets or sets visibility of the ruler.
Declaration
[JsonProperty("showRulers")]
public bool ShowRulers { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | True |
Examples
DiagramProperties Model = new DiagramProperties();
Model.RulerSettings.ShowRulers = True;
VerticalRuler
Gets or sets vertical ruler properties.
Declaration
[JsonProperty("verticalRuler")]
public DiagramRuler VerticalRuler { get; set; }
Property Value
Type | Description |
---|---|
DiagramRuler | new DiagramRuler() |
Examples
DiagramProperties Model = new DiagramProperties();
Model.RulerSettings.VerticalRuler = new DiagramRuler();