You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Tee Namespace > Classes > ColorPalette Class > ColorPalette Methods > ColorPalette.CreatePeakHoldPalette Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
ColorPalette.CreatePeakHoldPalette Method

Create default palette entries/levels, but keep the scale.

Syntax
C#
Visual Basic
public void CreatePeakHoldPalette(double aMax, double aMin);
Parameters 
Description 
double aMax 
Defines maximum value between consecutive calls to function. 
double aMin 
Defines minimum value between consecutive calls to function. 

Creates default palette entries/level, but adjust the scaling by remembering the maximum aMax and minimum aMin between consecutive calls of the function. The scale can be reset by calling ResetPeakScale.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!