The next task explains how to lock a PDF layer, Extract PDF layer elements, flatten a layered PDF, and merge all layers inside PDF into one....specific layer on the first page, and save the document with...first page and the first layer var page = document . Pages [ 1...