For the complete documentation index, see llms.txt. This page is also available as Markdown.

JavaScript samples for working with PDF layers

Layer separation

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

Launch DemoView Source Code

Color separation

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

Launch DemoView Source Code

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.

Launch DemoView Source Code

Last updated

Was this helpful?