Search Results for

    Show / Hide Table of Contents

    Class GaugeScale

    Represents a scale of a gauge.

    Inheritance
    System.Object
    GaugeScale
    LinearScale
    RadialScale
    SimpleScale
    Namespace: FastReport.Gauge
    Assembly: FastReport.Base.dll
    Syntax
    public class GaugeScale

    Constructors

    GaugeScale(GaugeObject)

    Initializes a new instance of the GaugeScale class.

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

    The parent gauge object.

    Properties

    Font

    Gets or sets the font of scale.

    Declaration
    public Font Font { get; set; }
    Property Value
    Type Description
    Font

    MajorTicks

    Gets or sets major ticks of scale.

    Declaration
    public ScaleTicks MajorTicks { get; set; }
    Property Value
    Type Description
    ScaleTicks

    MinorTicks

    Gets or sets minor ticks of scale.

    Declaration
    public ScaleTicks MinorTicks { get; set; }
    Property Value
    Type Description
    ScaleTicks

    Parent

    Gets or sets the parent gauge object.

    Declaration
    public GaugeObject Parent { get; set; }
    Property Value
    Type Description
    GaugeObject

    TextFill

    Gets or sets the scale font color

    Declaration
    public FillBase TextFill { get; set; }
    Property Value
    Type Description
    FillBase

    Methods

    Assign(GaugeScale)

    Copies the contents of another GaugeScale.

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

    The GaugeScale instance to copy the contents from.

    Draw(FRPaintEventArgs)

    Draws the scale of gauge.

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

    Draw event arguments.

    Serialize(FRWriter, String, GaugeScale)

    Serializes the gauge scale.

    Declaration
    public virtual 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.

    Remarks

    This method is for internal use only.

    Back to top © 1998-2025 Copyright Fast Reports Inc.