AGI STK Util 11 Send comments on this topic.
ResetUnits Method (IAgUnitPrefsDimCollection)
See Also  Example





Description

Resets the unitpreferences to the Default units

Syntax

[Visual Basic .NET]
Public Sub ResetUnits() 

[C#]
public void ResetUnits();

[Managed C++]
public: void ResetUnits();

[Java]
public  resetUnits();

[Unmanaged C++]
public: HRESULT ResetUnits();

Example

Reset all current unit preferences
[C#] Copy Code
// Reset Units 
root.UnitPreferences.ResetUnits(); 
 

Reset all current unit preferences
[Visual Basic .NET] Copy Code
' Reset Units
root.UnitPreferences.ResetUnits()

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1