Show / Hide Table of Contents

Class SimpleScale

Represents a simple scale.

Inheritance
System.Object
GaugeScale
SimpleScale
Inherited Members
GaugeScale.MajorTicks
GaugeScale.MinorTicks
GaugeScale.Parent
GaugeScale.Font
GaugeScale.TextFill
Namespace: FastReport.Gauge.Simple
Assembly: FastReport.OpenSource.dll
Syntax
public class SimpleScale : GaugeScale

Constructors

SimpleScale(GaugeObject)

Initializes a new instance of the SimpleScale class.

Declaration
public SimpleScale(GaugeObject parent)
Parameters
Type Name Description
GaugeObject parent

The parent gauge object.

Properties

FirstSubScale

Gets or sets the first subscale (top or left).

Declaration
public virtual SimpleSubScale FirstSubScale { get; set; }
Property Value
Type Description
SimpleSubScale

SecondSubScale

Gets or sets the second subscale (right or bottom).

Declaration
public virtual SimpleSubScale SecondSubScale { get; set; }
Property Value
Type Description
SimpleSubScale

Methods

Assign(GaugeScale)

Copies the contents of another GaugeScale.

Declaration
public override void Assign(GaugeScale src)
Parameters
Type Name Description
GaugeScale src

The GaugeScale instance to copy the contents from.

Overrides
GaugeScale.Assign(GaugeScale)

Draw(FRPaintEventArgs)

Draws the scale of gauge.

Declaration
public override void Draw(FRPaintEventArgs e)
Parameters
Type Name Description
FRPaintEventArgs e

Draw event arguments.

Overrides
GaugeScale.Draw(FRPaintEventArgs)

Serialize(FRWriter, String, GaugeScale)

Serializes the gauge scale.

Declaration
public override void Serialize(FRWriter writer, string prefix, GaugeScale diff)
Parameters
Type Name Description
FRWriter writer

Writer object.

System.String prefix

Scale property name.

GaugeScale diff

Another GaugeScale to compare with.

Overrides
GaugeScale.Serialize(FRWriter, String, GaugeScale)
Remarks

This method is for internal use only.

Back to top Generated by DocFX