Show / Hide Table of Contents

Constructor DimensionLayer

DimensionLayer(ArcGISFeatureTable)

Initializes a new instance of the DimensionLayer class from a feature table containing dimension features.

Declaration
public DimensionLayer(ArcGISFeatureTable featureTable)
Parameters
Type Name Description
ArcGISFeatureTable featureTable

The feature table, containing dimension features, used as the source of the dimension layer.

Remarks

If the feature table does not contain dimension data then the DimensionLayer will fail to load. LayerInfo and ServiceType can be checked, to verify the feature type, before attempting to create a DimensionLayer.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.13 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.13 - 100.15
Xamarin.Android100.13 - 100.15
Xamarin.iOS100.13 - 100.15
UWP100.13 - 100.15

DimensionLayer(Item, Int64)

Initializes a new instance of the DimensionLayer class from a feature service portal item.

Declaration
public DimensionLayer(Item item, long layerId)
Parameters
Type Name Description
Item item

A feature service PortalItem.

Int64 layerId

The layer ID for which to create the layer.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.13 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.13 - 100.15
Xamarin.Android100.13 - 100.15
Xamarin.iOS100.13 - 100.15
UWP100.13 - 100.15

DimensionLayer(Uri)

Initializes a new instance of the DimensionLayer class from a feature service URI.

Declaration
public DimensionLayer(Uri source)
Parameters
Type Name Description
Uri source

The URI to the feature service layer.

Remarks

If the specified URI is not a valid Feature Service endpoint, then it will fail to load.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.13 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.13 - 100.15
Xamarin.Android100.13 - 100.15
Xamarin.iOS100.13 - 100.15
UWP100.13 - 100.14
In This Article
Back to top Copyright © 2022 Esri.