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 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.6 - 200.5 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 200.5 |
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. |
System.Boolean | isExtruded | If |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.6 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.6 - 200.5 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 200.5 |
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. |
System.Boolean | isExtruded | If |
System.Boolean | isTessellated | If |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.6 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.6 - 200.5 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 200.5 |