Currently we use this to create files for our clients to send to vendors.... One has asked to password protect the output....
What call to a member or property should I use...
in the form of
PDFConverter.SetPassowrd('Passwordtext')...
Any ideas please and thank you?
Code Example:
PDFConverter.DriverInit('Navision PDF Converter');
PDFConverter.FileNameOptions(3);
PDFConverter.DefaultDirectory(ENVIRON('TEMP') + '\');
PDFConverter.SetDefaultPrinter;
.
PDFConverter.DefaultFileName(TempFileName);
.
PDFConverter.FileNameOptions(0);
PDFConverter.RestoreDefaultPrinter;
What method/property should I call to set a password...
-
- Posts: 1
- Joined: Wed Sep 28 2005
- Location: Australia
- Contact:
What method/property should I call to set a password...
Smile, you don't know who is watching 

Hello,
You can protect the PDF file after generating it or while generating it.
You need to use the Encrypt function of CDIntf.Document to encrypt a pdf file after it is gnerated.
You will find more information about this function in the Developers' manual.
Please note that to use the Encryption function you need to have the Professional version of the PDF Converter.
Hope this helps.
You can protect the PDF file after generating it or while generating it.
You need to use the Encrypt function of CDIntf.Document to encrypt a pdf file after it is gnerated.
You will find more information about this function in the Developers' manual.
Please note that to use the Encryption function you need to have the Professional version of the PDF Converter.
Hope this helps.