We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

PDF Layers not correct

Thread ID:

Created:

Updated:

Platform:

Replies:

132455 Sep 3,2017 10:29 AM UTC Sep 5,2017 10:17 AM UTC WinForms 3
loading
Tags: PDF
Juergen Becker
Asked On September 3, 2017 10:29 AM UTC

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

Surya Kumar [Syncfusion]
Replied On September 4, 2017 07:23 AM UTC

Hi Jurgen, 
 
Thank you for using Syncfusion products. 
 
We have tried to reproduce the issue which you have mentioned by creating a new PDF document with multiple layers and saved it. Then loaded the saved document and checked whether the layers which are added are present in the loaded document with the code snippet which you have used in your last update. 
 
But we are unable to reproduce the issue, can you please provide us the document in which the mentioned issue is reproduce so that we can help you better in this. 
 
Please find the sample in which we tried to reproduce the issue from below link: 
 
Please let us know if you need any further information in this. 
 
Regards, 
Surya Kumar 


Juergen Becker
Replied On September 4, 2017 07:44 AM UTC

Hi,

many thanks for your Reply.

In the attached file you will find the PDF with the layers. Please be so kind and check it with this file.

Thanks a lot.

Regards Jürgen


Attachment: P06_0071_FW_Ebene3Layer_2c4b1c53.zip

Surya Kumar [Syncfusion]
Replied On September 5, 2017 10:17 AM UTC

Hi Juergen 
 
 
A support incident to track the status of reported issue has been created under your account. Please log on to our support website to check for further updates.      
 
  
 
Regards, 
Surya Kumar 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;