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


IGPLinearUnit2.SetDefaultUnits Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPLinearUnit2 Interface > IGPLinearUnit2.SetDefaultUnits Method
ArcGIS Developer Help

IGPLinearUnit2.SetDefaultUnits Method

Sets the type of linear unit to be used as the default when the linear unit control is displayed.

[Visual Basic .NET]
Public Sub SetDefaultUnits ( _
    ByVal Units As esriUnits _
)
[C#]
public void SetDefaultUnits (
    esriUnits Units
);
[C++]
HRESULT SetDefaultUnits(
  esriUnits Units
);
[C++]
Parameters
Units [in]

Units is a parameter of type esriUnits

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGPLinearUnit2 Interface