getEmbeddedFileName

Get the name of an embedded file.
getEmbeddedFileName([in] int idx, [out, retval] BSTR *name)
This function returns the name of an embedded file.

Embedded files are numbered 0 through n-1 (where n is the value returned by getNumEmbeddedFiles).

VB6:
n = viewer.getNumEmbeddedFiles For i = 0 To n-1 name = viewer.getEmbeddedFileName(i) ... viewer.saveEmbeddedFile i, "c:/file.pdf" Next i
getNumEmbeddedFiles
saveEmbeddedFile