• Material 3
  • Fluent
  • Fluent 2
  • Bootstrap 5
  • Tailwind CSS
  • High Contrast
  • Fluent 2 High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Theme Mode
Localization
*Translated by Google Translator.
Currency

Layers Example in JavaScript PDF Library

This sample demonstrates adding layers (Optional Content Group) with different shapes in the PDF document. The Syncfusion JavaScript PDF library also supports creating, merging, and toggling the layers.

DEMO
SOURCE
Click the button to view a PDF document generated by JavaScript PDF Library. Please note that Adobe Reader or its equivalent is required to view the resultant document.

This feature can be used in CAD drawings, maps, layered artworks, and multi-language documents. More information about the layers can be found in this documentation section.

Transform your JavaScript apps today with Syncfusion® JavaScript PDF library
High-performance PDF document processing library
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab