This function was introduced in Quick PDF Library version 7.11.
Makes an embedded file available as an attachment in the PDF viewer, if it supports this functionality. Adobe Reader 7 and later allow the user to work with file attachments.
First use the AddEmbeddedFile function to embed the file into the PDF.
function TDebenuPDFLibrary1511.AddFileAttachment(Title: WideString;
EmbeddedFileID: Integer): Integer;
Function DebenuPDFLibrary1511.PDFLibrary::AddFileAttachment(Title As String,
EmbeddedFileID As Long) As Long
int DPLAddFileAttachment(int InstanceID, wchar_t * Title, int EmbeddedFileID)
|Title||The title of the attachment that should appear in the PDF viewer|
|EmbeddedFileID||The value returned from the AddEmbeddedFile function|
|0||The EmbeddedFileID parameter was invalid, or the Title was blank|
|1||The embedded file was made available as an attachment successfully|