How do I remove a layer added by the PDFLayersTest code?

30 views
Skip to first unread message

Ryan

unread,
Nov 1, 2019, 7:17:47 PM11/1/19
to PDFTron PDFNet SDK
Question:

We add layers to pdf pages using code derived from the PDFLayersTest project.

However, sometimes we need to remove/erase one or more of these layers later on, how can we do that?

Answer:

The attached code will erase the layer named in the layerToRemove variable.

ElementEditTest.cs
Reply all
Reply to author
Forward
0 new messages