Click or drag to resize

KmlUnitsType Enumeration

The coordinate system units used by KmlImageCoordinate.

Namespace:  Esri.ArcGISRuntime.Ogc
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.9.0.0
Syntax
C#
public enum KmlUnitsType
Members
  Member nameValueDescription
Fraction0Treat the x/y value as a fraction of the width/height; this is the default.
Pixels1Treat the x/y value as an integral number of device-independent pixels (DIPs).
InsetPixels2 Treat the x/y value as an integral number of device-independent pixels (DIPs) from the top right corner.
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).

See Also