ArcGIS Pro 2.9 API Reference Guide
GetUseSymbolLayerDrawing Method (GroupLayer)

ArcGIS.Desktop.Mapping Namespace > GroupLayer Class : GetUseSymbolLayerDrawing Method
Gets whether the group layer is currently using Symbol Layer Drawing or not. This method must be called on the MCT. Use QueuedTask.Run
Syntax
public ValueTuple<bool,bool> GetUseSymbolLayerDrawing()
Public Function GetUseSymbolLayerDrawing() As ValueTuple(Of Boolean,Boolean)

Return Value

True if the group layer is currently using SLD.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
SLD has not been added to this layer or a parent
Remarks
Calling GetUseSymbolLayerDrawing() on a group layer that does not have SLD added or SLD added to a parent group layer will throw an System.InvalidOperationException. Use HasSymbolLayerDrawingAdded to determine if the group layer has SLD added.
Note: useOnLayer will always be false for a group layer that participates in a parent group layer using SLD. The parent group layer will control SLD for all participating child group layers and feature layers.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

GroupLayer Class
GroupLayer Members