Do not export hidden layer and layers by name

How not to export hidden layer and layers by name

Issue: How not to export hidden layer and layers by name.

Tips: To do this, you need to create an array of layers that are not named “LayerToHide” and add them to rasterizationOptions.Layers.

Example: