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
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
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
MarkerColor(String)
Defines the color of the ruler marker brush.
Declaration
public DiagramDiagramRulerBuilder MarkerColor(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Orientation(RulerOrientation)
Defines the orientation of the ruler
Declaration
public DiagramDiagramRulerBuilder Orientation(RulerOrientation value)
Parameters
Type | Name | Description |
---|---|---|
RulerOrientation | value |
Returns
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
Thickness(Double)
Defines the height of the ruler.
Declaration
public DiagramDiagramRulerBuilder Thickness(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value |
Returns
TickAlignment(TickAlignment)
Defines and sets the tick alignment of the ruler scale.
Declaration
public DiagramDiagramRulerBuilder TickAlignment(TickAlignment value)
Parameters
Type | Name | Description |
---|---|---|
TickAlignment | value |