SRGDecimalScale::SetMaxValue

voidSRGDecimalScale::SetMaxValue(doubledMaxValue)

Sets the maximum value which a scale may display

Defined in: DScale.h

Parameters

dMaxValue

Desired maximum value

Example

An ideal percentage scale

SetMaxValue(10);
SetMinValue(0);
SetResolution(0.1);

See also...

m_dMaxValue  GetMaxValue  SetMinValue