Class MapDatasetSubLayer
Renderer-neutral display state for one portrayal sub-layer of a loaded dataset.
public sealed class MapDatasetSubLayer
- Inheritance
-
MapDatasetSubLayer
- Inherited Members
Constructors
MapDatasetSubLayer(string, string, bool, double)
Creates a sub-layer state snapshot.
public MapDatasetSubLayer(string key, string name, bool isVisible = true, double opacity = 1)
Parameters
keystringStable processor-supplied key used to reconcile the sub-layer across re-portrayals.
namestringHuman-readable, non-localized sub-layer name.
isVisibleboolWhether the sub-layer is enabled.
opacitydoubleSub-layer opacity in the inclusive range 0..1.
Exceptions
- ArgumentException
keyornameis empty or consists only of white-space characters.- ArgumentOutOfRangeException
opacityis not finite or lies outside 0..1.
Properties
IsVisible
Whether this sub-layer is enabled.
public bool IsVisible { get; }
Property Value
Key
Stable processor-supplied key used to reconcile this sub-layer across re-portrayals.
public string Key { get; }
Property Value
Name
Human-readable, non-localized sub-layer name.
public string Name { get; }
Property Value
Opacity
Sub-layer opacity in the inclusive range 0..1.
public double Opacity { get; }