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 blank (clear) an ImageEnView?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Ole Ekerhovd

Norway
4 Posts

Posted - Jul 10 2021 :  06:44:13  Show Profile  Reply
I have just started to view Pdf files using ImageEn and it works just great :)

If the user chooses the wrong file to display or just want to abort I would like to clear the ImageEnView so it's displayed blank.

I have tried without any luck:

imageenview1.IO.ClosePDFFile;
ImageEnView1.Clear;
imageenview1.Deselect;
imageEnView1.Blank();

I use ImageEnMView to display miniatures and it is blanked successfully with imageenmview1.Clear;

Regards,
Ole

xequte

38180 Posts

Posted - Jul 11 2021 :  03:40:48  Show Profile  Reply
Hi Ole

It should be:

ImageEnView1.PDFViewer.Enabled := False;

Or

ImageEnView1.PDFViewer.Close();

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