Constructor KmlGeometry
KmlGeometry(Geometry, KmlAltitudeMode)
Initializes a new instance of the KmlGeometry class using a geometry and an altitude mode.
Declaration
public KmlGeometry(Geometry geometry, KmlAltitudeMode altitudeMode)
Parameters
Type | Name | Description |
---|---|---|
Geometry | geometry | The Geometry used for creating the new KmlGeometry. |
KmlAltitudeMode | altitudeMode | The KmlAltitudeMode. Determines how altitude values should be interpreted. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.6 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.6 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 100.15 |
Relevant samples
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.
Declaration
public KmlGeometry(Geometry geometry, KmlAltitudeMode altitudeMode, bool isExtruded)
Parameters
Type | Name | Description |
---|---|---|
Geometry | geometry | The Geometry used for creating the new KmlGeometry. |
KmlAltitudeMode | altitudeMode | The KmlAltitudeMode. Determines how altitude values should be interpreted. |
Boolean | isExtruded | If |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.6 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.6 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 100.15 |
KmlGeometry(Geometry, KmlAltitudeMode, Boolean, Boolean)
Initializes a new instance of the KmlGeometry class using geometry, an altitude mode, and flags.
Declaration
public KmlGeometry(Geometry geometry, KmlAltitudeMode altitudeMode, bool isExtruded, bool isTessellated)
Parameters
Type | Name | Description |
---|---|---|
Geometry | geometry | The Geometry used for creating the new KmlGeometry. |
KmlAltitudeMode | altitudeMode | The KmlAltitudeMode. Determines how altitude values should be interpreted. |
Boolean | isExtruded | If |
Boolean | isTessellated | If |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.6 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.6 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 100.15 |