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. |