Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Tue Jul 17, 2018 3:23 pm

Hi ,

please find attached pdf file. i am unable to read pdf layers.I am using following code.Please reply as soon as possible.

foreach (PdfLayer ly in doc.Layers)
{
if (ly.Visibility == PdfVisibility.Off)
{
lists.Add(ly.Name);
}
}
for (int i = 0; i < lists.Count; i++)
{
doc.Layers.RemoveLayer(lists[i]);

}

Thanks
Ramakrishna

Ramakrishna@tecra
 
Posts: 2
Joined: Wed May 09, 2018 6:49 am

Wed Jul 18, 2018 3:19 am

Hi Ramakrishna@tecra,

Thanks for your post.
After testing, I have noticed the issue that the layers in the PDF cannot be read. I've logged it in our bug tracking system. We will inform you as soon as there is any update.
Sincerely,
Hogan
E-iceblue support team
User avatar

hogan.tang
 
Posts: 51
Joined: Tue Jul 03, 2018 1:43 am

Thu Aug 02, 2018 9:26 am

Thanks for fixed for this issue.
And one more issue is there .Now i able to read all layers,But whenever removing hide layers on that time the layer names was deleted,but hide layers exist in pdf content . I tested attached pdf.

Thanks

Ramakrishna@tecra
 
Posts: 2
Joined: Wed May 09, 2018 6:49 am

Thu Aug 02, 2018 10:07 am

Hello,

Thanks for your feedback.
I did notice the issue and already submitted it to our dev team for fixing. Once there is any good news, we will notify you. So sorry for the inconvenience caused.

Sincerely,
Nina
E-iceblue support team
User avatar

Nina.Tang
 
Posts: 1187
Joined: Tue Sep 27, 2016 1:06 am

Return to Spire.PDF