Finds a predefined linear or angular unit of measure based on its OGC/EPSG or ESRI WKID.
FindUnitsByWKID(string Authority, int WKID)
Parameter |
Description |
Authority |
Usually "EPSG" or "ESRI",
but can also be an arbitrary string. If empty,
the default authority will be returned. |
WKID |
Integer that defines a well-known ID (WKID)
for a predefined unit. For a list of valid EPSG
and ESRI WKID codes, see the discussion Finding
a Well-Known ID |
Return Value
A Unit
object. Depending on the type of unit, you can
cast to an AngularUnit or LinearUnit.
Remarks
Examples