Parameters
- projectUnits
- The list of unit formats to be set for the project
- defaultUnit
- (optional) specifies a new default
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run |
System.ArgumentException | projectUnits must have at least one entry |
System.ArgumentException | project unit not of type 'unitFormat' |
System.ArgumentException | default unit not of type 'unitFormat' |
System.InvalidOperationException | units cannot be changed |
Target Platforms: Windows 11, Windows 10