Adobe PDF Reader component (AcroPDF.dll) - is it possible to access table of contents and bookmarks from code?
I'm using the above DLL in my .NET project. It seems to make different functions accessible, but I can't find bookmarks and table of contents. Is it possible to access those? Als开发者_开发百科o, any manuals/guides available for this component?
No, the automation interface of the free version is quite limited. You'll get more with the retail edition. The API manual is here. Beware that the document is quite confuzzling, it mixes the docs for the freeware and retail edition. Chapter 3 starts talking about COM specific stuff, the kind you could use from a .NET app.
Also be aware the table may not exist in the PDF - PDf files do not generally preserve such structures unless you create them as Structured COntent.
精彩评论