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
 Pdfium ImportPages does not update page
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

tiagosis

Brazil
36 Posts

Posted - May 17 2021 :  14:46:59  Show Profile  Reply
hello, after adding pages using
imageenView1.update; does not update, I tried too

ImageEnView1.PdfViewer.Refresh;

follow my code:

"ImageEnView1.Pdf Viewer.Document.ExportPages (imgLoad.PdfViewer.Document, PAGE_RANGE_ALL, -1)"

pages are added to the target document but do not update imageenview for the user, how to proceed?

tiago

xequte

38186 Posts

Posted - May 18 2021 :  06:17:40  Show Profile  Reply
Hi Tiago

You're using a PDFium feature we do not yet support. We'll address this for 10.0.2.



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

tiagosis

Brazil
36 Posts

Posted - May 18 2021 :  08:51:52  Show Profile  Reply
wouldn't there be anything that could be done? I really waited for 10.0.1 to be able to provide a stable version of my software ...

tiago
Go to Top of Page

xequte

38186 Posts

Posted - May 18 2021 :  15:59:35  Show Profile  Reply
Hi Tiago

Unfortunately PDFium support in ImageEn is less than a month old, so it will take a few versions for the features to fully form.

As an ugly hack you should be able to force a refresh with a null delete:

ImageEnView1.PdfViewer.DeletePages([]);

or by toggling PDFViewer.Enabled

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

tiagosis

Brazil
36 Posts

Posted - May 18 2021 :  18:17:45  Show Profile  Reply
hello, i really appreciate it, with that i believe i will be able to release the version, deletepages is not the most appropriate solution but it works

tiago
Go to Top of Page

xequte

38186 Posts

Posted - May 27 2021 :  20:47:28  Show Profile  Reply
Hi Tiago

In 10.0.2 you can use:

ImageEnView1.PdfViewer.Update();

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