ImageEn, unit iexUserInteractions

TIEPdfViewer.DeleteAttachment

TIEPdfViewer.DeleteAttachment


Declaration

function DeleteAttachment(Index: Integer): Boolean;


Description

Remove an embedded file from the current PDF document.
Result is false if an error is encountered.


Demo

Demo  Demos\PDF\PDFViewer\PdfViewer.dpr


Example

// Delete all attachments from document
While ImageEnView1.PdfViewer.AttachmentCount > 0 do
  ImageEnView1.PdfViewer.DeleteAttachment( 0 );


See Also

Attachment
AttachmentCount