DecryptionPasswordNeeded Event
Request to provide decryption password during decryption.
Syntax
typedef struct { bool CancelDecryption; } TsbxOfficeDecryptorDecryptionPasswordNeededEventParams; typedef void __fastcall (__closure *TsbxOfficeDecryptorDecryptionPasswordNeededEvent)(System::TObject* Sender, TsbxOfficeDecryptorDecryptionPasswordNeededEventParams *e); __property TsbxOfficeDecryptorDecryptionPasswordNeededEvent OnDecryptionPasswordNeeded = { read=FOnDecryptionPasswordNeeded, write=FOnDecryptionPasswordNeeded };
Remarks
This event is fired when the component needs decryption password from the user.
if CancelDecryption property is set to true value (default value) then decryption would fail if provided password is invalid. Otherwise this event would be fired again.