Show / Hide Table of Contents

Enum KmlUnitsType

The coordinate system units used by KmlImageCoordinate.

Namespace: Esri.ArcGISRuntime.Ogc
Assembly: Esri.ArcGISRuntime.dll
Syntax
public enum KmlUnitsType
Remarks

Use the KmlUnitsType enumeration (either via the XUnits and YUnits properties or via the KmlImageCoordinate(Double, Double, KmlUnitsType, KmlUnitsType) constructor) to establish the KML image coordinate system.

Values of type Fraction must be between 0.0 and 1.0. Values below 0.0 will be set to 0.0, and values above 1.0 will be set to 1.0.

If a non-integral number is specified with a unit type of pixels or insetPixels, it will be rounded down to a whole number (e.g. 2.243 will be rounded to 2.0).

Fields

Name Description
Fraction

Treat the x/y value as a fraction of the width/height; this is the default.

InsetPixels

Treat the x/y value as an integral number of device-independent pixels (DIPs) from the top right corner.

Pixels

Treat the x/y value as an integral number of device-independent pixels (DIPs).

See Also
XUnits
YUnits

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
In This Article
Back to top Copyright © 2022 Esri.