Constructor ClassBreak
ClassBreak()
Initializes a new instance of the ClassBreak class.
Declaration
public ClassBreak()
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
ClassBreak(String, String, Double, Double, Symbol)
Initializes a new instance of the ClassBreak class with initial values.
Declaration
public ClassBreak(string description, string label, double minValue, double maxValue, Symbol symbol)
Parameters
Type | Name | Description |
---|---|---|
System.String | description | A description of the class break. "Cities with a population under 100,000", for example. |
System.String | label | A label for the class break. "0 - 100000", for example. |
Double | minValue | The minimum value of the range that defines the break. |
Double | maxValue | The maximum value of the range that defines the break. |
Symbol | symbol | A symbol used to represent elements in the class break. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
Relevant samples
ClassBreak(String, String, Double, Double, Symbol, IEnumerable<Symbol>)
Initializes a new instance of the ClassBreak class with alternate symbols.
Declaration
public ClassBreak(string description, string label, double minValue, double maxValue, Symbol symbol, IEnumerable<Symbol> alternateSymbols)
Parameters
Type | Name | Description |
---|---|---|
System.String | description | A description of the class break. "Cities with a population under 100,000", for example. |
System.String | label | A label for the class break. "0 - 100000", for example. |
Double | minValue | The minimum value of the range that defines the break. |
Double | maxValue | The maximum value of the range that defines the break. |
Symbol | symbol | A symbol used to represent elements in the class break. |
IEnumerable<Symbol> | alternateSymbols | A collection of alternate symbols to the primary symbol. Symbols in this list should be of type MultilayerSymbol. |
Remarks
A class break can have alternate symbols to the primary symbol. Alternate symbols allow you to tailor the visualization of a class break at different scales by selecting different symbols for different scales. Alternate symbols are supported only when class break's primary symbol and other symbols in alternate symbol list are of type MultilayerSymbol and have SymbolReferenceProperties defining valid min/max scales at which the symbol becomes visible. Renderer will pick only one symbol at a given map scale. If primary symbol's scale range falls within the map's scale, primary symbol is used. If not, then symbols in alternate symbols list are iterated through and first symbol matching the current map scale is picked for rendering. A symbol becomes visible if the map scale is less than or equal to symbol's minimum scale and greater than symbol's maximum scale. For more information on scale-based symbol classes and alternate symbols see the following documentation: Use scale-based symbol classes.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.13 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.13 - 100.15 |
Xamarin.Android | 100.13 - 100.15 |
Xamarin.iOS | 100.13 - 100.15 |
UWP | 100.13 - 100.14 |