Search Results for

    Show / Hide Table of Contents

    Class ScaleTicks

    Represents a scale ticks.

    Inheritance
    System.Object
    ScaleTicks
    Namespace: FastReport.Gauge
    Assembly: FastReport.Base.dll
    Syntax
    public class ScaleTicks

    Constructors

    ScaleTicks()

    Initializes a new instance of the ScaleTicks class.

    Declaration
    public ScaleTicks()

    ScaleTicks(Single, Int32, Color)

    Initializes a new instance of the ScaleTicks class.

    Declaration
    public ScaleTicks(float length, int width, Color color)
    Parameters
    Type Name Description
    System.Single length

    Ticks length.

    System.Int32 width

    Ticks width.

    Color color

    Ticks color.

    ScaleTicks(Single, Int32, Color, Int32)

    Initializes a new instance of the ScaleTicks class.

    Declaration
    public ScaleTicks(float length, int width, Color color, int count)
    Parameters
    Type Name Description
    System.Single length

    Ticks length.

    System.Int32 width

    Ticks width.

    Color color

    Ticks color.

    System.Int32 count

    Ticks count.

    Properties

    Color

    Gets or sets the color of ticks.

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

    Count

    Gets or sets the count of ticks

    Declaration
    public int Count { get; set; }
    Property Value
    Type Description
    System.Int32

    Length

    Gets or sets the length of ticks.

    Declaration
    public float Length { get; set; }
    Property Value
    Type Description
    System.Single

    Width

    Gets or sets the width of ticks.

    Declaration
    public int Width { get; set; }
    Property Value
    Type Description
    System.Int32

    Methods

    Assign(ScaleTicks)

    Copies the contents of another ScaleTicks.

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

    The ScaleTicks instance to copy the contents from.

    Serialize(FRWriter, String, ScaleTicks)

    Serializes the scale ticks.

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

    Writer object.

    System.String prefix

    Scale ticks property name.

    ScaleTicks diff

    Another ScaleTicks to compare with.

    Remarks

    This method is for internal use only.

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