Hi,
I want to display all layers which are in a PDF file in an Grid (this.lvwLayers).
I tried this out with a PDF which Comes from AutoCAD. In the page layer collection are 6 layers (one of them 4 times).
But all the other layers are not in the collection, it must be 38. BTW. The Adobe Reader is correct.
What went wrong?
This is the code:
Syncfusion.Pdf.PdfDocumentm_Document=newSyncfusion.Pdf.PdfDocument();
m_Document.PageSettings.Rotate=m_Rotation;
m_Document.ImportPageRange(m_PDFLoadedDocument,0,m_PDFLoadedDocument.Pages.Count-1);
Syncfusion.Pdf.PdfLoadedPagepage=m_PDFLoadedDocument.Pages[0]asSyncfusion.Pdf.PdfLoadedPage;
this.lvwLayers.BeginUpdate();
this.lvwLayers.DataSource=null;
this.lvwLayers.DataSource=page.Layers;
this.lvwLayers.EndUpdate();
Thanks for helping.
Regards Jürgen