IWPPdfCreator.PreparePDFAttachment |
[Top] [Chapter] [Previous] [Next] |
Applies to Declaration int PreparePDFAttachment(string filename; int Editor; int Modes): Integer; Description Write a PDF file with a temporary file and adds the name to the attachment list. This function is intended to be used when sending e-mails. The attachment list has to be prepared with Memo.PrepareAttachmentList. You can select the editor #1 or #2 and also pass a file name which should be used. The parameter Modes is reserved. The filename should not contain a path. The created file will use part of the passed filename, but can have a different name, if a file already exists. Please use GetAttachment to retrieve the attached file names.
|