Class RulerMarkupRenderer
Provides the scale for the rulers.
Inheritance
System.Object
RulerMarkupRenderer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public abstract class RulerMarkupRenderer
Constructors
RulerMarkupRenderer(Ruler)
Creates instance of RulerMarkupRenderer
Declaration
public RulerMarkupRenderer(Ruler ruler)
Parameters
Type | Name | Description |
---|---|---|
Ruler | ruler |
Properties
NumericFormat
Gets numeric number format.
Declaration
public virtual string NumericFormat { get; }
Property Value
Type |
---|
System.String |
PixelInUnit
Gets precession in pixels.
Declaration
public virtual float PixelInUnit { get; }
Property Value
Type |
---|
System.Single |
Precision
Gets minimum particle of the ruler.
Declaration
public virtual float Precision { get; }
Property Value
Type |
---|
System.Single |
RoundPrecision
Gets specified precision for round mark.
Declaration
public virtual int RoundPrecision { get; }
Property Value
Type |
---|
System.Int32 |
Methods
DrawHorizontalRuler(Graphics, RectangleF, View)
Render scale on horizontal ruler
Declaration
protected void DrawHorizontalRuler(Graphics gfx, RectangleF bounds, View view)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | gfx | Graphics render to |
System.Drawing.RectangleF | bounds | Bounds of the ruler |
View | view | Diagram view |
DrawVerticalRuler(Graphics, RectangleF, View)
Render scale on vertical ruler
Declaration
protected virtual void DrawVerticalRuler(Graphics gfx, RectangleF bounds, View view)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | gfx | Graphics render to |
System.Drawing.RectangleF | bounds | Bounds of the ruler |
View | view | Diagram view |
RenderMarkup(Graphics, RectangleF, View)
Render scale on ruler
Declaration
public void RenderMarkup(Graphics gfx, RectangleF bounds, View view)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | gfx | Graphics render to |
System.Drawing.RectangleF | bounds | Bounds of the ruler |
View | view | Diagram view |