简体   繁体   中英

Read the embed PDF file in Excel using Aspose.Cells

I'm trying to read PDF files in Excel and save it to local using Aspose.Cells for C# , but when I read the PDF's ObjectSourceFullName , it's "*. bin", and other attributes also not show anything identify it's PDF. How this happened and how to solve this? Please help me, Thanks!!!

You can identify the type of OLE object with its ClassIdentifier property. It is a 16-bytes number. Convert it to GUID and then check what this GUID means inside the Windows Registry.

Guid guid = new Guid(wb.Worksheets[0].OleObjects[0].ClassIdentifier);

The following screenshot explains that {b801ca65-a1fc-11d0-85ad-444553540000} actually means Adobe Acrobat Document .

在此处输入图片说明

Note: I am working as Developer Evangelist at Aspose

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM