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
 Loading single page via PDFium
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

jrpcguru

USA
254 Posts

Posted - May 07 2021 :  16:58:08  Show Profile  Reply
The help file for LoadFromFile says this:
// Load the 3rd page of a PDF file with max dimensions of 1000x1000
ImageEnView1.ImageIndex := 2;
ImageEnView1.IO.LoadFromFilePDF( 'C:\Test.pdf', 1000, 1000 );

If I use ImageEnView1.PdfViewer.Enabled := True;
before the prior code, the ImageIndex is ignored. I removed the ImageEnMView from the demo and ImageEnView just shows the arrows for changing pages.

Is there any way to load individual pages via PDFium? PDFium is notably fast at loading, but I have a program that used WPViewPDF and loading individual pages into ImageEnView. It would sure easier to convert to PDFium if single page loading is possible.

J.R.

xequte

38207 Posts

Posted - May 09 2021 :  21:59:23  Show Profile  Reply
We have fixed this for 10.0.1.

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

jrpcguru

USA
254 Posts

Posted - May 10 2021 :  14:21:49  Show Profile  Reply
That was quick! Thanks.

J.R.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: