×
Menu
Index

EmbedFile

 
 
  • EmbedFile( cTitle, cFileName, cMIMEType ) => Embeds (attach) a file to the PDF.
 
cTitle : A unique title for this file. No two files can have the same title. If a file with this title already exists in the document the new file will not be embedded.
 
cFileName : The full path and name of the file to embed.
 
cMIMEType : The optional MIME type of the file, for example "image/jpg" for a JPEG image. See http://www.iana.org/assignments/media-types/ for a full list of MIME types. If the MIME type is not known it can be set to an empty string.
 
 
Return values
false (.f.)  Invalid NewMode parameter
true (.t.) The compliance mode was set successfully