aspose.pdf.test.pdf (30.8 KB)
This file has one layer of yellow line.
And if I saving this file in Aspose.PDF than this line is appearing
I use this code.
Aspose.Pdf.Document pdfDocument2 = new Aspose.Pdf.Document(src);
Aspose.Pdf.Document newDocument2 = new Aspose.Pdf.Document();
foreach (Aspose.Pdf.Page pdfPage2 in pdfDocument2.Pages)
and this code is always null.
if (pdfPage2.Layers == null)
// === NULL ===
// === NOT NULL ===
how can I copy this file’s layers?