When i use this code
- Code: Select all
using (Spire.Pdf.PdfDocument doc = new Spire.Pdf.PdfDocument(path))
{
for (int i = 0; i < doc.Layers.Count; i++)
{
MessageBox.Show(doc.Layers[i].Name);
}
}
on a pdf with 2 layers (i can see in Photoshop), nothing happen, the application tell me that there are 0 layers. How can i solve?