A layer that can visualize dimension features data.
public sealed class DimensionLayer : Layer, INotifyPropertyChanged, ILoadable, ILayerContent
Dimension features are a special kind of annotation feature for showing specific lengths or distances on a map. A dimension may indicate the length of a side of a building or land parcel, or the distance between two features, such as a fire hydrant and the corner of a building. They are described in detail in "Dimension". Each Dimension feature has specific text and specific locations for its schematic lines and arrows. Dimension features are not linked to other point, line or polygon features, even if the dimension measurement was created to refer to one or more features.
You can construct a dimension layer using a feature table containing dimension features:
- An online ServiceFeatureTable that has a feature layer service type of DimensionLayer.
- An offline GeodatabaseFeatureTable returned by the GeodatabaseDimensionTables collection when a GenerateGeodatabaseJob has completed.
Dimension layers can be taken offline from a feature service hosted on ArcGIS Enterprise 10.9 or later, using the GeodatabaseSyncTask. Dimension layers are also supported in mobile map packages or mobile geodatabases created in ArcGIS Pro 2.9 or later.
Dimension respects the reference scale defined by the map, so dimension will always be presented to the user at the correct size and position, as defined by the dimension author.
Dimension features cannot be added, changed or deleted by Runtime users. (Attempts will produce a "Geodatabase table not editable" (3016) error)
The fields of a Dimension feature can be queried by Runtime users or used in the definition expression, but not have their values changed. The automatic fields are described in detail in "Dimension fields". Authors may have added additional fields relevant to their data description.
The Runtime user does not have access to, and cannot change, the Renderer or the Styles used for rendering dimensions.
Initializes a new instance of the DimensionLayer class from a feature table containing dimension features.
Initializes a new instance of the DimensionLayer class from a feature service portal item.
Initializes a new instance of the DimensionLayer class from a feature service URI.
Gets or sets the weight of dimension features when considered as barriers to labeling.
Gets or sets an expression which is a SQL statement WHERE clause to specify the subset of features to be displayed.
Gets the feature table associated with this layer.
Gets the layer ID that defines the layer within the feature service portal item.
Gets the reference scale for the layer.
Gets the URI of a feature service to define the layer.
Updates any selected features in the layer back to the un-selected state.
Returns a list of the currently selected features.
Resets the visibility of the layer's features back to the original visibility when loaded from the data source.
Selects the given feature and adds it to the current list of selected features.
Selects the features in the list and adds them to the current list of selected features.
|SelectFeaturesAsync(QueryParameters, SelectionMode, CancellationToken)||
Selects the features that match the criteria in the QueryParameters object and adds them to the current list of selected features.
Sets the visibility of the given features.
Sets the visibility of the given feature.
Unselects the given feature and removes it from the current list of selected features.
Unselects the features in the given list and removes them from the current list of selected features.
|.NET Standard 2.0||100.13 - 100.14|
|.NET 6.0||100.13 - 100.14|
|.NET 6.0 Windows||100.13 - 100.14|
|.NET Framework||100.13 - 100.14|
|Xamarin.Android||100.13 - 100.14|
|Xamarin.iOS||100.13 - 100.14|
|UWP||100.13 - 100.14|