ILinearUnit Interface

Provides access to members that control the properties of the linear unit.

Description

Represents the linear unit of measure for a projected coordinate system. The linear unit conversion factor is always defined as meters per unit.

Members

Name Description
Read-only property Abbreviation The abbreviated name of this spatial reference component.
Read-only property Alias The alias of this spatial reference component.
Read-only property ConversionFactor The conversion factor of the unit to the base.
Read-only property FactoryCode The factory code (WKID) of the spatial reference.
Read-only property MetersPerUnit The meters per unit for a coordinate system.
Read-only property Name The name of this spatial reference component.
Read-only property Remarks The comment string of this spatial reference component.

ILinearUnit.MetersPerUnit Property

The meters per unit for a coordinate system.

Public ReadOnly Property MetersPerUnit As Double
public double MetersPerUnit {get;}
public void ILinearUnitExample(ILinearUnit linearUnit)

    {

        double mpu = linearUnit.MetersPerUnit; 

        //Get the Meters Per Unit value 

        System.Windows.Forms.MessageBox.Show(mpu.ToString());

    }

Inherited Interfaces

Interfaces Description
IUnit Provides access to members that identify a linear or angular unit of measure within a spatial reference system.
ISpatialReferenceInfo Provides access to members that control the properties common to all components of a spatial reference system.

Classes that implement ILinearUnit

Classes Description
LinearUnit Creates a linear unit of measure.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.