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
 How to active a ImageEnView1.PdfViewer
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

DSBossen

USA
2 Posts

Posted - Dec 31 2025 :  11:59:27  Show Profile  Reply
When I run this code and hit LoadFromFile it gives an error
"PdfViewer not Active" cannot find a way to activate.
How to you Active it?

Source := FldSource.Text;
    FileName    := Source + '\*.PDF';
    if FindFirst(FileName,faAnyFile,F) = 0 then
      begin
//        ImageEnView1.;
        ImageEnView1.PdfViewer.LoadFromFile(F.Name);

Thanks
DS Bossen

Donald S Bossen

xequte

39297 Posts

Posted - Dec 31 2025 :  16:53:33  Show Profile  Reply
Hi Donald

You can use:

ImageEnView1.PdfViewer.Enabled := True;
ImageEnView1.IO.LoadFromFilePDF( 'C:\document.pdf' );


Please see:

http://www.imageen.com/help/TImageEnView.PdfViewer.html

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