Class SizeRanges
Represents a set of size ranges used to draw points based on analytical value.
Inheritance
System.Object
SizeRanges
Namespace: FastReport.Map
Assembly: FastReport.dll
Syntax
[TypeConverter(typeof(FRExpandableObjectConverter))]
public class SizeRanges
Constructors
SizeRanges()
Initializes a new instance of the SizeRanges class.
Declaration
public SizeRanges()
Properties
EndSize
Gets or sets the end size.
Declaration
public float EndSize { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
RangeCount
Gets or sets the number of ranges.
Declaration
public int RangeCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Ranges
Gets the list of ranges.
Declaration
public List<SizeRange> Ranges { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<SizeRange> |
RangesAsString
Gets or sets ranges as a string.
Declaration
[Browsable(false)]
public string RangesAsString { get; set; }
Property Value
Type | Description |
---|---|
System.String |
StartSize
Gets or sets the start size.
Declaration
public float StartSize { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Methods
Assign(SizeRanges)
Copies the contents of another SizeRanges.
Declaration
public void Assign(SizeRanges src)
Parameters
Type | Name | Description |
---|---|---|
SizeRanges | src | The SizeRanges instance to copy the contents from. |
GetSize(Double)
Gets a size associated with given analytical value.
Declaration
public float GetSize(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value | The analytical value. |
Returns
Type | Description |
---|---|
System.Single | The size associated with this value, or 0 if no association found. |