RemoveEmbeddedFile

Document properties

Description

Removes the specified embedded file from the document.

Syntax

Delphi

function TPDFlib.RemoveEmbeddedFile(Index: Integer): Integer;

ActiveX

Function PDFlib::RemoveEmbeddedFile(Index As Long) As Long

DLL

int DLRemoveEmbeddedFile(int InstanceID, int Index);

Parameters

IndexThe index of the embedded file. Must be a value between 1 and the value returned by EmbeddedFileCount.

Return values

0The embedded file could not be removed.
1The embedded file was successfully removed from the document.