Layer (OCG) Separation

JS PDF Layer Separation Demo

A demo of the PDF layer separation capabilities (Optional Content Groups) in WebViewer, a JavaScript-based PDF SDK for web apps. Easily add/separate different layers of construction drawings like architecture, electrical and more in PDF with JavaScript.

Please note, this demo only supports PDFs.

Toggle layers

Get Started


Sample Code


Check out what's new in WebViewer