Copy link to clipboard
Copied
I'm looking to target one layer and change it's properties to:
Default State: ON
Visibility: Always Visible
Print: Never Prints
Export: Never Export.
As pictured below.
Copy link to clipboard
Copied
I'm looking to target one layer and change it's properties to:
Default State: ON
Visibility: Always Visible
Print: Never Prints
Export: Never Export.
As pictured below.
Copy link to clipboard
Copied
A layer is represented by the OCG object in JS, which is very limited.
From what you described you can only set its initial state and current state, using the initState and state properties, respectively.