ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 PDF ShowAllPages

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
mdgodfrey Posted - May 01 2024 : 18:24:22
Can someone tell me why the following code doesn't work for being able to move through a multipage PDF document with mouse or arrow keys?

Function TfrmPDFViewer.ViewPDF(aPDFName: String) : Boolean;
var
  PDFFile: String;
begin
  PDFFile := frmPreferences.DirRepository + '\Help\' + aPDFName;
  ImageEnView1.PDFViewer.ShowAllPages := True;
  ImageEnView1.Update();
  ImageEnView1.Blank;
  ImageEnView1.IO.LoadFromFilePDF(PDFFile);
end;

I have ShowAllPpages working in other places where I have an ImageEnView.
MouseInteractGeneral is set with [miScroll].
I am loading multipage documents and using buttons to move to other pages works.
I have moved ShowAllPages to several other locations in the program with no behavior difference.
So, just guessing that I am missing some other property?
6   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - May 03 2024 : 21:45:52
PDFium does not support that, at this time.



Nigel
Xequte Software
www.imageen.com
mdgodfrey Posted - May 03 2024 : 13:58:15
Will Add Bookmark be an option at some point?
mdgodfrey Posted - May 03 2024 : 12:04:13
Thanks for the help. Very excited about annotations!
xequte Posted - May 02 2024 : 22:07:02
If PdfViewer.Enabled = False, ImageEn will load the PDF file as an image (specified page only).
If PdfViewer.Enabled = True, ImageEn will load the PDF file as a document.

Annotations are included in the next update.


Nigel
Xequte Software
www.imageen.com
mdgodfrey Posted - May 02 2024 : 00:34:45
It is focused.
The problem is that I hadn't added ImageEnView1.PdfViewer.Enabled := True;
Which is kind of weird because everything else, at least with viewing, responds like the PDFViewer is enabled.

Also, this next release will have the adding annotations feature?

Thanks

xequte Posted - May 01 2024 : 23:37:46
Hi

Does ImageEnView1.PDFViewer.Enabled = TRUE?

Is the TImageEnView the focused control? I.e. if you click the ImageEnView (or programmatically set it as focused) does it work?



Nigel
Xequte Software
www.imageen.com