SetLayersUIStateExcept Method
In This Topic
Sets the visibility of all layers except those listed in the array, in the context of an end-user UI. The array can contain layer names (strings) or
OptionalContentGroup references. The is interpreted as follows:
- true: the user explicitly made all layers (except the specified ones) visible.
- false: the user explicitly made all layers (except the specified ones) hidden.
- a null reference (Nothing in Visual Basic): the user did not change the visibility of the layers.
Syntax
'Declaration
Public Sub SetLayersUIStateExcept( _
ByVal As System.Nullable(Of Boolean), _
ByVal ParamArray () As System.Object _
)
public void SetLayersUIStateExcept(
System.Nullable<bool> ,
params System.object[]
)
Parameters
- state
- The desired state of the layer.
- layers
- The array of layer names or OptionalContentGroup objects to be excluded.
See Also