ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 How to get the Password entered by user for opening encrypted PDF files?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
yogiyang Posted - Jul 25 2026 : 01:41:12
Hello,

ImageEnview is setup to auto prompt for password when opening encrypted PDF files.
IEGlobalSettings().AutoPromptForPassword


When user opens any locked/encrypted PDF file, ImageEnview auto prompts for password and opens the file.

After the file is successfully opened I want to retrieve the password and save it so in future when that same file is opened again the saved password will automatically get applied so user will not have to reenter the password.

How to do this?

Yogi Yang
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jul 26 2026 : 21:23:00
Hi Yogi

Firstly, please note that in newer versions of ImageEn, IEGlobalSettings().AutoPromptForPassword is now:

ImageEnView1.IO.AutoPromptForPassword := True;

And the default is FALSE.

https://www.imageen.com/help/TImageEnIO.AutoPromptForPassword.html


In the current beta, the password the user supplied is available via: ImageEnView1.PdfViewer.Document.LastPassword


You can email me for the beta.


Nigel
Xequte Software
www.imageen.com