How to flatten Layers of a PDF file

Product: 9.1

Product Version: 9.1

How to flatten Layers of a PDF file?

I am looking for Flattening the layers of PDF using PDFTron on .Net core. How can I do that? Any help?

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:


If you follow this forum post you can remove the interactive menu part, so while the layers are still technically there, they are stuck in their defaults, and user will not be able to turn them on/off from UI.

If that doesn’t work for you, then please elaborate on why flattening layers is important for you.
What do you mean exactly by the word “flatten”?
The more I understand your requirements the best I can assist. Input/output files, and screenshots help a lot also.