THotPDF.AddDocumentAttachment

THotPDF

 

Arriba  Anterior  Siguiente

Adds any file to PDF document.

 

Sintaxis Delphi:

procedure AddDocumentAttachment ( FileName: TFileName; Descripción: AnsiString );

 

Sintaxis C++:

void __fastcall AddDocumentAttachment ( AnsiString FileName, AnsiString Descripción );

 

Descripción

Call AddDocumentAttachment procedure to add any file specified FileName  and  Descripción. 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.