Free Support Forum -

Multi Layered PDF

I’m using lastest .NET version 18.11.

I have a multi layered PDF file like this:
pdf_layer_new.pdf (95.2 KB)

It contains 1 page that has many layers.
I want to create a new document and add this page into it (alongside with new pages).
But when I do that, I lost all the layers in that page.
I tried to access to document.Pages[1].Layers but it’s null

Is there a way to access the already existing layer of a page?


Thanks for contacting support.

We have tested the scenario in our environment and were able to observe that page layers were removed after merging your document with new PDF document. We have logged an issue as PDFNET-45734 in our issue tracking system. We will further look into details of the issue and keep you posted with the status of its correction. Please be patient and spare us little time.

We are sorry for the inconvenience.