card-icon

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 enable/disable 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

Documentation

Sample Code

Showcase


Check out the new DOCX Editor