1
Question about attachments (creating a PDF portfolio)
Question asked by Daniel Guerriero - 4/27/2021 at 8:36 AM
Answered
I'm using the attachments property to add a file using the following code:

Dim duattach As New Attachment
duattach.File = "e:\nada.pdf"
DocumentViewerControl.Attachments.Add(duattach)

And this is what I'm getting:


How can I change the "sidepanel.coverSheet" text to something else?
Also, is it possible to add an attachment as the cover sheet itself (so it will be shown as the main file) ?

3 Replies

Reply to Thread
0
Daniel Guerriero Replied
Also I noticed that the watermarks do not show when viewing the attachments.
0
Cem Alacayir Replied
Employee Post Marked As Answer
Regarding "sidepanel.coverSheet" text , normally you should see "Cover Sheet"  text, either you have an outdated custom language file in App_GlobalResources\WebViewer\i18n  folder or your have an old version. Please see here for the latest language files and update to the latest Version 5.9.5 - April 18, 2021.

> Also I noticed that the watermarks do not show when viewing the attachments.

Yes, watermarks are only added to the main document but maybe we could include a setting to add them also to attachments.



0
Daniel Guerriero Replied
> Yes, watermarks are only added to the main document but maybe we could include a setting to add them also to attachments. 

That would be very useful, thanks. I also noticed that when I open any PDF portfolio file, not just the ones I'm generating via the attachments collection, the watermarks do not show either.

Reply to Thread