BSTR OwnerPassword { get; set; } |
OwnerPassword contains a password for the current PDF document. The password is required to edit an encrypted PDF file.
Equivalent in new interface: IPDFDocument4::OwnerPassword.
{ PDF object is supposed to be created } PDF.UserPassword := 'userpassword'; PDF.OwnerPassword := 'superpassword'; PDF.BeginDoc; { fill document's content here } PDF.EndDoc;
// PDF object is supposed to be created PDF->UserPassword = "userpassword"; PDF->OwnerPassword = "superpassword"; PDF->BeginDoc(); // fill document's content here PDF->EndDoc();
// PDF object is supposed to be created PDF.UserPassword = "userpassword"; PDF.OwnerPassword = "superpassword"; PDF.BeginDoc(); // fill document's content here PDF.EndDoc();
' PDF object is supposed to be created PDF.UserPassword = "userpassword" PDF.OwnerPassword = "superpassword" PDF.BeginDoc ' fill document's content here PDF.EndDoc