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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 ImageEnVect.IO.Params.Dict.Insert
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

klausdoege

Germany
389 Posts

Posted - May 12 2020 :  18:24:13  Show Profile  Reply
Hello,
i usethe WPViewPDF Component, this works fine.
Now my question ?
The parameter ImageEnVect.IO.Params.Dict.Insert as password, works with loadfromfile for (PDF).
Can I use this with loadfromfileondemand ?

Klaus
www.klausdoege.de

xequte

39052 Posts

Posted - May 13 2020 :  00:57:17  Show Profile  Reply
Hi Klaus

It should work, though I have not tested it. Use the OnImageAdded event to update the params for the added image to include the password:

ImageEnMView1.Params[ idx ].Dict.Insert( 'PDF:Password', Password );

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: