JavaScript samples for working with PDF layers

Layer separation

Shows how to get each layer's information. You can also show/hide specific layers.

Color separation

Shows how to get each color's information. You can also show/hide specific colors.

Full API

Full API is mainly used for PDF processing situations that are not featured using the Standard API. The preferred recommendation is to use the Standard API to address your situation when possible. Standard API is easy to use, loaded by default, and performs best for most situations.

PDFLayers

This sample demonstrates how to create PDF layers (also known as Optional Content Groups - OCGs). The sample also shows how to extract and render PDF layers.

Did you find this helpful?

Trial setup questions?

Ask experts on Discord

Need other help?

Contact Support

Pricing or product questions?

Contact Sales