PdfFileSecurity
अवलोकन
PdfFileSecurity Aspose.PDF FOSS for C++ में एक क्लास है।
यह क्लास C++ प्रोग्रामों में PdfFileSecurity ऑब्जेक्ट्स के साथ काम करने के लिए 20 मेथड्स प्रदान करती है। उपलब्ध मेथड्स हैं: AllowExceptions, BindPdf, ChangePassword, DecryptFile, EncryptFile, InputFile, OutputFile, PdfFileSecurity, SetPrivilege, TryChangePassword, TryDecryptFile, TryEncryptFile, और 1 अतिरिक्त मेथड। सभी सार्वजनिक सदस्य Aspose.PDF FOSS for C++ पैकेज को स्थापित करने के बाद किसी भी C++ एप्लिकेशन के लिए सुलभ हैं।
विधियाँ
| हस्ताक्षर | विवरण |
|---|---|
PdfFileSecurity() | इस PdfFileSecurity इंस्टेंस पर PdfFileSecurity को कॉल करता है। |
BindPdf(srcFile: std::string) | इस PdfFileSecurity इंस्टेंस पर BindPdf(srcFile) को कॉल करता है। |
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | इस PdfFileSecurity इंस्टेंस पर EncryptFile(userPassword, ownerPassword, privilege, keySize) को कॉल करता है। |
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → bool | इस PdfFileSecurity इंस्टेंस पर EncryptFile(userPassword, ownerPassword, privilege, keySize, cipher) को कॉल करता है। |
TryEncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | इस PdfFileSecurity इंस्टेंस पर TryEncryptFile(userPassword, ownerPassword, privilege, keySize) को कॉल करता है। |
DecryptFile(ownerPassword: std::string) → bool | इस PdfFileSecurity इंस्टेंस पर DecryptFile(ownerPassword) को कॉल करता है। |
TryDecryptFile(ownerPassword: std::string) → bool | इस PdfFileSecurity इंस्टेंस पर TryDecryptFile(ownerPassword) को कॉल करता है। |
SetPrivilege(privilege: DocumentPrivilege) → bool | विशेषाधिकार मान सेट करता है। |
SetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → bool | विशेषाधिकार मान सेट करता है। |
TrySetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → bool | इस PdfFileSecurity इंस्टेंस पर TrySetPrivilege(userPassword, ownerPassword, privilege) को कॉल करता है। |
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → bool | इस PdfFileSecurity इंस्टेंस पर ChangePassword(ownerPassword, newUserPassword, newOwnerPassword) को कॉल करता है। |
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | इस PdfFileSecurity इंस्टेंस पर ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) को कॉल करता है। |
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → bool | इस PdfFileSecurity इंस्टेंस पर ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) को कॉल करता है। |
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → bool | इस PdfFileSecurity इंस्टेंस पर TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword) को कॉल करता है। |
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | इस PdfFileSecurity इंस्टेंस पर TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) को कॉल करता है। |
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → bool | इस PdfFileSecurity इंस्टेंस पर TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) को कॉल करता है। |
InputFile(value: std::string) | इस PdfFileSecurity इंस्टेंस पर InputFile(value) को कॉल करता है। |
OutputFile(value: std::string) | इस PdfFileSecurity इंस्टेंस पर OutputFile(value) को कॉल करता है। |
AllowExceptions() → bool | इस PdfFileSecurity इंस्टेंस पर AllowExceptions को कॉल करता है। |
AllowExceptions(value: bool) | इस PdfFileSecurity इंस्टेंस पर AllowExceptions(value) को कॉल करता है। |