Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #12835 > unrolled thread

Generating PDF with password

Started byRüdiger Fresemann <ruediger.fresemann@t-online.de>
First post2020-02-11 08:46 +0100
Last post2020-02-11 08:46 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  Generating PDF with password Rüdiger Fresemann <ruediger.fresemann@t-online.de> - 2020-02-11 08:46 +0100

#12835 — Generating PDF with password

FromRüdiger Fresemann <ruediger.fresemann@t-online.de>
Date2020-02-11 08:46 +0100
SubjectGenerating PDF with password
Message-ID<haf4f6FgafjU1@mid.individual.net>
Hi,

I use an own generated OLEAutoobject, which I use für generating Word 
documents. I save the documents as PDF. This works fine with following 
commands:

oMSword:Activedocument:ExportAsFixedFormat(cPDFName,17,false,,0,,,0,,,,,true,,)

or much easier:

oMSword:Activedocument:SaveAs(cPDFName,17)

Now I want to have an password for opening the PDF document. In Word you 
only have to check a checkbox and set an password. In the 
MS-documentation for this function the password is the 4th parametr, f.e.:

oMSword:Activedocument:SaveAs(cPDFName,17,false,"Passwort")

But this does not work.

Does anybody have had success with generating PDF documents WITH password?

Thanks.

Pasadena

[toc] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web