OwnerPassword Property
The owner password.
Syntax
ANSI (Cross Platform) char* GetOwnerPassword();
int SetOwnerPassword(const char* lpszOwnerPassword); Unicode (Windows) LPWSTR GetOwnerPassword();
INT SetOwnerPassword(LPCWSTR lpszOwnerPassword);
@property (nonatomic,readwrite,assign,getter=ownerPassword,setter=setOwnerPassword:) NSString* ownerPassword; - (NSString*)ownerPassword; - (void)setOwnerPassword:(NSString*)newOwnerPassword;
#define PID_PDFENCRYPTOR_OWNERPASSWORD 71 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_PDFEncryptor_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_PDFEncryptor_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
Use this property to provide the document owner password. Though it may be different to UserPassword, most implementations use the same value for the both.
Data Type
String