PdfFileSecurity

PdfFileSecurity

نمای کلی

PdfFileSecurity یک کلاس در Aspose.PDF FOSS برای C++ است.

این کلاس 20 متد برای کار با اشیاء PdfFileSecurity در برنامه‌های C++ فراهم می‌کند. متدهای موجود شامل: AllowExceptions, BindPdf, ChangePassword, DecryptFile, EncryptFile, InputFile, OutputFile, PdfFileSecurity, SetPrivilege, TryChangePassword, TryDecryptFile, TryEncryptFile و 1 متد دیگر هستند. همهٔ اعضای عمومی پس از نصب بسته Aspose.PDF FOSS برای C++ برای هر برنامه C++ قابل دسترسی هستند.

روش ها

امضاتوضیح
PdfFileSecurity()متد PdfFileSecurity را بر روی این نمونه PdfFileSecurity فراخوانی می‌کند.
BindPdf(srcFile: std::string)متد BindPdf(srcFile) را بر روی این نمونه PdfFileSecurity فراخوانی می‌کند.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolمتد EncryptFile(userPassword, ownerPassword, privilege, keySize) را بر روی این نمونه PdfFileSecurity فراخوانی می‌کند.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolمتد EncryptFile(userPassword, ownerPassword, privilege, keySize, cipher) را بر روی این نمونه PdfFileSecurity فراخوانی می‌کند.
TryEncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolمتد TryEncryptFile(userPassword, ownerPassword, privilege, keySize) را بر روی این نمونه PdfFileSecurity فراخوانی می‌کند.
DecryptFile(ownerPassword: std::string) → boolمتد DecryptFile(ownerPassword) را بر روی این نمونه PdfFileSecurity فراخوانی می‌کند.
TryDecryptFile(ownerPassword: std::string) → boolمتد TryDecryptFile(ownerPassword) را بر روی این نمونه PdfFileSecurity فراخوانی می‌کند.
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متد ChangePassword(ownerPassword, newUserPassword, newOwnerPassword) را بر روی این نمونه PdfFileSecurity فراخوانی می‌کند.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolمتد ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) را بر روی این نمونه PdfFileSecurity فراخوانی می‌کند.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolمتد ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) را بر روی این نمونه PdfFileSecurity فراخوانی می‌کند.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolمتد TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword) را بر روی این نمونه PdfFileSecurity فراخوانی می‌کند.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolمتد TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) را بر روی این نمونه PdfFileSecurity فراخوانی می‌کند.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolمتد TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) را بر روی این نمونه PdfFileSecurity فراخوانی می‌کند.
InputFile(value: std::string)متد InputFile(value) را بر روی این نمونه PdfFileSecurity فراخوانی می‌کند.
OutputFile(value: std::string)متد OutputFile(value) را بر روی این نمونه PdfFileSecurity فراخوانی می‌کند.
AllowExceptions() → boolمتد AllowExceptions را بر روی این نمونه PdfFileSecurity فراخوانی می‌کند.
AllowExceptions(value: bool)متد AllowExceptions(value) را بر روی این نمونه PdfFileSecurity فراخوانی می‌کند.

همچنین ببینید:

 فارسی