ScaleValue

References
public class ScaleValue : IDisposable
Represents a scale with associated LengthValues and string representations of the scale. This allows for going back and forth from numerical representations of a scale and a string representation without "guessing" at the initial scale.

Constructors

ScaleValue

#Since v6.0
Default constructor
public ScaleValue()

Finalizer

~ScaleValue

#
passively reclaim native allocated ON_ScaleValue*
~ScaleValue()

Properties

LeftToRightScale

#Since v6.0
LeftLengthValue / RightLengthValue
public double LeftToRightScale { get; }

RightToLeftScale

#Since v6.0
RightLengthValue / LeftLengthValue
public double RightToLeftScale { get; }

Methods

Create

#Since v6.0
Create from 2 length values
public static ScaleValue Create()

Create

#Since v6.0
Create from string
public static ScaleValue Create()

Dispose

#Since v6.0
actively reclaim native allocated ON_SacleValue*
public void Dispose()

IsUnset

#Since v6.0
Test IsUnset
public bool IsUnset()

LeftLengthValue

#Since v6.0
Get the Left LengthValue from Scale
public LengthValue LeftLengthValue()

OneToOne

#Since v6.0
Make a new ScaleValue set to OneToOne
public static ScaleValue OneToOne()

RightLengthValue

#Since v6.0
Get the Right LengthValue from Scale
public LengthValue RightLengthValue()