Return Value
True if SLD can be added to the feature layer
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
QueuedTask.Run(() => { //check if it can be added to the layer if (featLayer.CanAddSymbolLayerDrawing()) featLayer.AddSymbolLayerDrawing(); //ditto for a group layer...must have at least //one child feature layer that can participate if (groupLayer.CanAddSymbolLayerDrawing()) groupLayer.AddSymbolLayerDrawing(); });
Target Platforms: Windows 11, Windows 10