Class ColorRange
Represents a single color range.
Inheritance
System.Object
ColorRange
Namespace: FastReport.Map
Assembly: FastReport.dll
Syntax
public class ColorRange
Constructors
ColorRange()
Initializes a new instance of the ColorRange class.
Declaration
public ColorRange()
ColorRange(Color, Double, Double)
Initializes a new instance of the ColorRange class with a specified parameters.
Declaration
public ColorRange(Color color, double startValue, double endValue)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Color | color | The color of the range. |
System.Double | startValue | The start value of the range. |
System.Double | endValue | The end value of the range. |
Properties
Color
Gets or sets color of the range.
Declaration
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color |
EndValue
Gets or sets end value of the range.
Declaration
public double EndValue { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
StartValue
Gets or sets start value of the range.
Declaration
public double StartValue { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
Assign(ColorRange)
Copies the contents of another ColorRange.
Declaration
public void Assign(ColorRange src)
Parameters
Type | Name | Description |
---|---|---|
ColorRange | src | The ColorRange instance to copy the contents from. |