Show / Hide Table of Contents

Class KmlLineStyle

Specifies the drawing style (color, color mode, and line width) for KML line geometry.

Inheritance
Object
KmlColorStyle
KmlLineStyle
Implements
System.ComponentModel.INotifyPropertyChanged
KmlColorStyle.Color
KmlColorStyle.ColorMode
KmlColorStyle.PropertyChanged
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Object.ToString()
Namespace: Esri.ArcGISRuntime.Ogc
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class KmlLineStyle : KmlColorStyle, INotifyPropertyChanged
Remarks

Examples of "line geometry" include polyline placemarks, outlines of outlined polygons, and the "tethers" of extruded KmlPlacemark icons.

Corresponds to a <LineStyle> element in a KML document.

Constructors

Name Description
KmlLineStyle(Color, Double)

Initializes a new instance of the KmlLineStyle class with specified line color and width.

Properties

Name Description
Width

Gets or sets the width of the KML line style, in pixels. Default is 1.0.

Applies to

TargetVersions
.NET Standard 2.0100.6 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.6 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.6 - 100.15
Xamarin.iOS100.6 - 100.15
UWP100.6 - 100.15

Relevant samples

Create and save KML file: Construct a KML document and save it as a KMZ file.
In This Article
Back to top Copyright © 2022 Esri.