This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IL > ILayerColorLock Interface > ILayerColorLock.SetAllColorLocked Method (ArcObjects .NET 10.5 SDK) |
Indicates if the color is locked for all layers.
[Visual Basic .NET] Public Sub SetAllColorLocked ( _ ByVal allLocked As Boolean _ )
[C#] public void SetAllColorLocked ( bool allLocked );
[C++]
HRESULT SetAllColorLocked(
VARIANT_BOOL allLocked
);
[C++]
Parameters allLocked [in] allLocked is a parameter of type VARIANT_BOOL
SetAllColorLocked indicates whether all layers of a MultiLayerFillSymbol, MultiLayerMarkerSymbol or MultiLayerLineSymbol will be locked to their current color.