Show / Hide Table of Contents

Class KmlGeometry

A KML geometry object.

Inheritance
Object
KmlGeometry
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 KmlGeometry
Remarks

A KML geometry contains all the KML-specific information associated with a Geometry.

Constructors

Name Description
KmlGeometry(Geometry, KmlAltitudeMode)

Initializes a new instance of the KmlGeometry class using a geometry and an altitude mode.

KmlGeometry(Geometry, KmlAltitudeMode, Boolean)

Initializes a new instance of the KmlGeometry class using geometry, an altitude mode, and boolean indicating whether the geometry is extruded.

KmlGeometry(Geometry, KmlAltitudeMode, Boolean, Boolean)

Initializes a new instance of the KmlGeometry class using geometry, an altitude mode, and flags.

Properties

Name Description
AltitudeMode

Gets the KML altitude mode.

Geometry

Gets the Runtime geometry for this object.

IsExtruded

Gets a value indicating whether the geometry is extruded.

IsTessellated

Gets a value indicating whether the geometry is tessellated. Tessellated geometry can follow the terrain.

Type

Gets the KML geometry type.

Applies to

TargetVersions
.NET Standard 2.0100.4 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.4 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.4 - 100.15
Xamarin.iOS100.4 - 100.15
UWP100.4 - 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.