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


IGPLinearUnit2.SetDefaultUnits Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geoprocessing)  

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