Aspose.Pdf page[1].Layers

Hi sir
I want to know We’re trying to get layers in pages of PDF files with the Page.Layers method
& method always return null
can you please let me know why always method return null there is layers in pdf document but method not returning anything


Could you please attach your input PDF file here for testing? We will investigate the issue and provide you more information on it.

please refer the pdf it has 2 layer but page[1].Layer method return null Accenture (1).zip (808.6 KB)


We have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as PDFNET-51375. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.