How to hide layer

Aug 27, 2015 at 9:55 AM
Hi.

I found the article, https://nshape.codeplex.com/discussions/540337.

I try it, but following codes meet error.
Display.HiddenLayers = invisibleLayer.Id;
Because, HiddenLayers is Read Only property.
Could you give a tip how to hide specific layer?

Thank you.
Coordinator
Aug 27, 2015 at 3:49 PM
Please use these methods of the Display component for setting/testing layer visibility:
public void SetLayerVisibility(LayerIds layerIds, bool visible)
public bool IsLayerVisible(LayerIds layerId)