Show / Hide Table of Contents

Property Width

Width

Gets or sets the width of the symbol.

Declaration
public double Width { get; set; }
Property Value
Type Description
double

The width of the symbol.

Remarks

When getting the width from a multilayer polyline symbol, the value reported is the largest width of all the symbol layers it contains. The symbol width is updated when its symbol layer widths change (if there is a new largest layer width). When setting a new width at the polyline symbol level, the width of the largest symbol layer is given the provided value, and all the smaller layers are sized proportionately. An individual symbol layer can be given a specific width without affecting the other layers.

The measurement unit for the width is in device-independent pixels (DIPs) by default. To use meters in 3D scenes, set the SceneSizeUnit property to Meters. This switches the interpretation of the width from DIPs to meters.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 300.0
.NET Windows100.13 - 300.0
.NET Android200.0 - 300.0
.NET iOS200.0 - 300.0
.NET Framework100.2.1 - 200.8
Xamarin.Android100.2.1 - 100.15
Xamarin.iOS100.2.1 - 100.15
UWP100.2.1 - 200.8
In this article
Provide feedback
Back to top Copyright © 2025 Esri.