We are trying to create a pdf with 2 layers Sprire pdf for java . The layers are getting created but they are not the top level layers as we expected.
The layers created are under Layer1 when pdf is opened in Adobe Illustrator.(shown in current layers.png)
The hierarchy we are trying to achieve with layering is shown in (expected.png). Please let us know if/how we can achieve this.
Thanks