Class SimpleScale
Represents a simple scale.
Inherited Members
Namespace: FastReport.Gauge.Simple
Assembly: FastReport.Base.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
Draw(FRPaintEventArgs)
Draws the scale of gauge.
Declaration
public override void Draw(FRPaintEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
FRPaintEventArgs | e | Draw event arguments. |
Overrides
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
Remarks
This method is for internal use only.