Hide File Attachment

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

ashley3289
User
Posts: 37
Joined: Wed Feb 10, 2010 10:58 pm

Hide File Attachment

Post by ashley3289 »

I want to add a file attachment to a pdf file and I think I can do this with the DoDocumentVerb(docId, NULL, "AddAttachment",
DataIn("C:\TestCopy.pdf", "MyAttachment", "This is my attachment"), NULL. If I do this I want to be able to hide the attachment so the end user will not know there is a file attached. How can I hide file attachment so that it does not show up as an icon or active area or in the comments pane.

Thanks,
Ashley
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19868
Joined: Mon Jan 12, 2009 8:07 am

Re: Hide File Attachment

Post by Stefan - PDF-XChange »

Hello Ashley,

I can't answer your question directly so I've asked my colleagues for some help and we will update this topic as soon as possible with the solution if there is such.

Best,
Stefan
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2445
Joined: Thu Jun 30, 2005 4:11 pm

Re: Hide File Attachment

Post by Vasyl - PDF-XChange »

Hi, Ashley.

Sorry, it is impossible.
In the new version SDK V3 you will be able to place any custom data directly in the document's structure.

Best
Regards.
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
ashley3289
User
Posts: 37
Joined: Wed Feb 10, 2010 10:58 pm

Re: Hide File Attachment

Post by ashley3289 »

Thanks for the reply. When will version 3 be available?
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19868
Joined: Mon Jan 12, 2009 8:07 am

Re: Hide File Attachment

Post by Stefan - PDF-XChange »

Hi Ashley,

V3 of the Viewer SDK has been announced for
June 30th, 2012

Best,
Stefan