



Collapse All
Syntax| BSTR UserPassword { get; set; } |
RemarksUserPassword contains a password for the current PDF document. The password is required to view an encrypted PDF file.
Equivalent in new interface: IPDFDocument4::UserPassword.
Example{ 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
See Also