Show / Hide Table of Contents

Class LinearScale

Represents a linear scale.

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

Constructors

LinearScale(GaugeObject)

Initializes a new instance of the LinearScale class.

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

The parent gauge object.

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