Parameters
- project
- The current ArcGIS Pro project to which the style has to be added.
- styleName
- Name of a core ArcGIS Pro style or the full path to a style file (.stylx) on disk that has to be added to the current project.
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method must be called within the lambda passed to QueuedTask.Run |
Target Platforms: Windows 11, Windows 10