Hi Guys,
Do you know how to create a pdf file protected by a password ?
Or open a pdf file and set a password for it ?
How to create a PDF with a Password?
- nageswaragunupudi
- Posts: 10721
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 8 times
- Contact:
Re: How to create a PDF with a Password?
Do you know how to create a pdf file protected by a password ?
Code: Select all | Expand
TPrinter():lUseHaruPDF := .t.
PRINT oPrn PREVIEW FILE "test.pdf"
if oPrn:IsKindOf( "FWPDF" )
oPrn:cPassWord := "MyPassword"
endif
PAGE
// print
ENDPAGE
ENDPRINT
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India