Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
File Attachments |
Post Reply |
Author | |
PGU_78
Team Player Joined: 01 Dec 06 Status: Offline Points: 16 |
Post Options
Thanks(0)
Posted: 11 Jan 07 at 5:02AM |
Hello everybody!
Is it possible to have an access to File Attachments in PDF? |
|
Don't be afraid. Be very afraid (The Fly, 1986)
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Dimitry!
You can attach files (any type) with QuickPDF. Take EmbedFile. You can use this attached files (hope i'm right) only with the Acrobat Reader (Foxit doesn't want it). Here's a delphi code snippet: // . . . QP := TiSEDQuickPDF.Create; try // hier weiter QP.UnlockKey('MyUnlockKey'); QP.LoadFromFile(Form1.Edit1.Text); QP.Unencrypt; fname := ExtractFileName(fstring); fx := FileGetAttr(Trim(Edit1.Text)); FileSetAttr(Trim(Edit1.Text), faArchive); QP.EmbedFile(ExtractFileName(fname), fstring,' '); QP.SetCustomInformation('EMBED', fname); QP.SaveToFile(Form1.Edit1.Text); // . . . Best regards, Ingo Edited by Ingo - 11 Jan 07 at 6:11AM |
|
PGU_78
Team Player Joined: 01 Dec 06 Status: Offline Points: 16 |
Post Options
Thanks(0)
|
Thank you Ingo.
EmbedFile function embeds a file into the PDF document. However, how do I extract a file from the PDF document? |
|
Don't be afraid. Be very afraid (The Fly, 1986)
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi!
There's no function for this in QuickPDF. The enduser can open and save the attached file when opening the pdf-document with the adobe reader. A real remove isn't possible ... It's good to have a copy without attached file ;-) Best regards, Ingo |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store