Omnis PDF Device.$embedfile()

Function group Execute on client Platform(s)
Omnis PDF Device NO All

From revision 38713.

Syntax

Omnis PDF Device.$embedfile(cFilePath[, cName])

Omnis PDF Device.$embedfile(cFilePath[, cName, cMIMEType='application/octet-stream'])

Description

Embeds the file in the PDF. If cName is omitted, the name of the file in cFilePath will be used.

You can specify the MIME type of the file in the cMIMEType parameter, but if omitted this defaults to application/octet-stream.