|
Rank: Newbie Groups: Member
Joined: 1/30/2015 Posts: 7
|
Hi,
I am evaluating eo.pdf for integration in our asp.net system. I create a pdf document from html. That works fine. However, I also want to attach various files (images, docs, strange other files). The problem is, when I create a new PdfAttachement and add it into the doc.Attachements, the pdf has its portfolio view activated.
Is it possible to just attach a file (like the paperclip attach file function in adobe acrobat) and not have the whole document "converted" to portfolio view?
Thanks! Marcus
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi, I believe a PDF file is automatically treated as a portfolio as soon as you have attachment. However you can use PdfDocument.Portfolio.InitialView property to specify which initial view to use: http://www.essentialobjects.com/doc/4/eo.pdf.pdfportfolio.initialview.aspxIf you do not want the file list to be shown, you can set the initial view to "Hidden". Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 1/30/2015 Posts: 7
|
When I set the portfolio view to hidden, the document does not even open on Adobe Acrobat XI.
It opens, however, on Chrome and in Adobe Reader, but there are no attachements showing up (they are showing up if the document is opened in portfolio view).
When I set Portfolio View to "NotSet", it just starts in portfolio view.
That function seems to be a bit messed up. Probably a bug?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
Thanks for the additional information. We have looked into this and it does appear to be a bug. "NotSet" should be the right option for your case. The correct behavior should be Adobe Reader shows a list of "Attachement" as a side panel (like the bookmark panel) and the panel is initially collapsed instead of hidden. We are fixing this and should be able to provide you a new build this week.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 1/30/2015 Posts: 7
|
Thanks! Could you post a short reply in this thread, then I know when to update to the new version.
Best, Marcus
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Yes. We will do that.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
This is just to let you know that we have posted a new build that should fix this problem. You can download the new build from our download page.
With this build if you just add Attachment but does not set Portfolio.InitialView (thus leaving it to the default "NotSet" value), Adobe Viewer will show a list of attachments as a side panel. EO.Pdf.dll version is 6.0.30.2 in this build.
Thanks!
|
|