Search Results for

    Show / Hide Table of Contents

    Class ScaleState

    A class that captures an Axis scale range.

    Inheritance
    Object
    ScaleState
    Implements
    ICloneable
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: ZedGraph
    Assembly: ZedGraph.dll
    Syntax
    public class ScaleState : ICloneable
    Remarks

    This structure is used by the ZoomState class to store Axis scale range settings in a collection for later retrieval. The class stores the Min, Max, MinorStep, and MajorStep properties, along with the corresponding auto-scale settings: MinAuto, MaxAuto, MinorStepAuto, and MajorStepAuto.

    Constructors

    | Improve this Doc View Source

    ScaleState(Axis)

    Construct a ScaleState from the specified Axis

    Declaration
    public ScaleState(Axis axis)
    Parameters
    Type Name Description
    Axis axis

    The Axis from which to collect the scale range settings.

    | Improve this Doc View Source

    ScaleState(ScaleState)

    The Copy Constructor

    Declaration
    public ScaleState(ScaleState rhs)
    Parameters
    Type Name Description
    ScaleState rhs

    The ScaleState object from which to copy

    Methods

    | Improve this Doc View Source

    ApplyScale(Axis)

    Copy the properties from this ScaleState out to the specified Axis.

    Declaration
    public void ApplyScale(Axis axis)
    Parameters
    Type Name Description
    Axis axis

    The Axis reference to which the properties should be copied

    | Improve this Doc View Source

    Clone()

    Typesafe, deep-copy clone method.

    Declaration
    public ScaleState Clone()
    Returns
    Type Description
    ScaleState

    A new, independent copy of this class

    | Improve this Doc View Source

    IsChanged(Axis)

    Determine if the state contained in this ScaleState object is different from the state of the specified Axis.

    Declaration
    public bool IsChanged(Axis axis)
    Parameters
    Type Name Description
    Axis axis

    The Axis object with which to compare states.

    Returns
    Type Description
    Boolean

    true if the states are different, false otherwise

    Explicit Interface Implementations

    | Improve this Doc View Source

    ICloneable.Clone()

    Implement the ICloneable interface in a typesafe manner by just calling the typed version of Clone()

    Declaration
    object ICloneable.Clone()
    Returns
    Type Description
    Object

    A deep copy of this object

    Implements

    System.ICloneable
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX