The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Unit: SDL_colorscale
Class: TColorScale
Declaration: procedure SetScaleRange (lowval, highval: double);

The method SetScaleRange sets both the scale range and the color range at once and to identical values. SetScaleRange has the same effect as the following four statements, but triggers the repaint of the color scale only once:
ColorLow := lowval;
ScaleRangeLow := lowval;
ColorHigh := highval;
ScaleRangeHigh := highval;

Last Update: 2023-Dec-13