Answered
Dear All,
I had a look at a sample file of "Document License Dialog" at AcroDialogs.
http://www.windjack.com/product/acrodialogs/
I would like to implement something similar, which I did by adding a layer on top of the page. However, when the file is opened in acrobat reader, you can see the layers and hide it, which kind of defeats the purpose. However, the layers are not visible for the acrodialogs example file.
How did they implement it?
Thank you in advance, for all your ideas.
Cheers,
Prasad.
You can remove layers from the listing on the sidebar by pointing doc.setOCGOrder to a null array in JavaScript. It will still be addressable by scripting but won't show on the UI.