HotPDF Delphi PDF Component Developer Guide | ![]() |
THotPDF.AddDocumentAttachment
|
Top Previous Next |
Adds any file to PDF document.
Delphi syntax: procedure AddDocumentAttachment ( FileName: TFileName; Description: AnsiString );
C++ syntax: void __fastcall AddDocumentAttachment ( AnsiString FileName, AnsiString Description );
Description Call AddDocumentAttachment procedure to add any file specified FileName and Description. A file attachment contains a reference to a file, which is embedded in the PDF file. For example, a table of data might use a file attachment to link to a spreadsheet file based on that data; activating the annotation extracts the embedded file and gives the user an opportunity to view it or store it in the file system. |
Copyright©2007-2019 losLab.com |