This document is archived and information here might be outdated. Recommended version. |
Indicates if a color lock is present for the layer at the specified index.
[Visual Basic .NET] Public Function get_LayerColorLock ( _ ByVal layerIndex As Integer _ ) As Boolean
[Visual Basic .NET] Public Sub set_LayerColorLock ( _ ByVal layerIndex As Integer, _ ByVal colorLock As Boolean _ )
[C#] public bool get_LayerColorLock ( int layerIndex );
[C#] public void set_LayerColorLock ( int layerIndex, bool colorLock );
[C++]
HRESULT get_LayerColorLock(
long layerIndex,
Boolean* colorLock
);
[C++]
HRESULT put_LayerColorLock(
long layerIndex,
VARIANT_BOOL colorLock
);
[C++]
Parameters layerIndex [in]
layerIndex is a parameter of type long colorLock [out, retval]
colorLock is a parameter of type bool* layerIndex [in]
layerIndex is a parameter of type long colorLock [in]
colorLock is a parameter of type bool
LayerColorLock indicates whether a specefic layer of a MultiLayerFillSymbol, MultiLayerMarkerSymbol or MultiLayerLineSymbol will be limited to the current color. When LayerColorLock is True the color cannot be changed.