This article explains how to lock a PDF layer, extract PDF layer elements, flatten a layered PDF, and Merge all layers inside a PDF into one.... Merge All Layers inside the PDF into one You can merge all...into a single new Layer (the merge API is on the Page object)....