Missing Layers when concatenating PDF

433
1
04-21-2022 03:40 AM
Fabeabe
New Contributor

I have a problem with the PDFs I created using the ArcGis Pro SDK.
I have created many PDFs, each with one page, and now I want to recompose them in a specific order.
I've already tried this using PDFSharp, iTextSharp and using arcpy.mp.PDFDocumentCreate, but I always lose the ability to show/hide the layers within the PDF.
I had exported these to the individual PDFs using the PDF format setting:

LayersAndAttributes = LayersAndAttributes.LayersOnly.

Can anyone help me on how to get the PDFs merged but keeping the PDF layers from each page?
Is there any specific Library that supports this or have I is just missed a setting?

Tags (3)
0 Kudos
1 Reply
JeffBarrette
Esri Regular Contributor

This is a known issue.  It appears that multiple Python and, and as you report,  .Net libraries strip away this information.  We are investigating the issue.

Jeff - Layout and arcpy.mp teams