This document is archived and information here might be outdated.  Recommended version.


ILinearUnit.MetersPerUnit Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geometry)  

ILinearUnit.MetersPerUnit Property

The meters per unit for a coordinate system.

[Visual Basic .NET]
Public ReadOnly Property MetersPerUnit As Double
[C#]
public double MetersPerUnit {get;}
[C++]
HRESULT get_MetersPerUnit(
  double* MetersPerUnit
);
[C++]

Parameters MetersPerUnit [out, retval] MetersPerUnit is a parameter of type double

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
[C#]     public void ILinearUnitExample(ILinearUnit linearUnit)
    {
        double mpu=linearUnit.MetersPerUnit;
        //Get the Meters Per Unit value
        System.Windows.Forms.MessageBox.Show(mpu.ToString());
    }

See Also

ILinearUnit Interface