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 Drag & Drop with ImageEnMView

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 - Apr 30 2024 : 15:48:59
I can see how to move a PDF Page up or down by one page at a time but I am hoping to find a way to drag a page(s) a long distance and then drop it to the desired position.

I don't seem to be able to find a demo that does that for a PDF.
Any suggestions?
5   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - May 07 2024 : 21:29:23
Hi Ale

Yes, a line can be shown when dragging (using ietxShowInsertPointWhileDragging of ThumbnailOptionsEx).

Though I have seen some quirks with the moving code in PDFium.

Nigel
Xequte Software
www.imageen.com
aleatprog Posted - May 06 2024 : 13:15:40
Hi Nigel,

may I remember/ask you to visually anticipate the eventual drop position by a vertical or horizontal line (while holding the mouse buttom)?

With an easier page reorganisation and text annotations, the next update release will be really nice. Congratulations! :)

Ale
xequte Posted - May 01 2024 : 23:32:46
Hi

We'll be releasing an update next week. It includes a new demo showing how to support drag/drop of pages to reorder them:

\Demos\PDFPageDragDrop\PDFPageDD.dpr

The important thing to remember is that TImageEnView.PDFViewer is the container of the PDF document. The TImageEnMView is only showing the content of TImageEnView.PDFViewer (i.e. via TImageEnMView.AttachedImageEnView), so when the pages are moved or deleted the TImageEnMView must command the TImageEnView.PDFViewer to move or delete them (and then the TImageEnMView will automatically refresh with the updated content).


Nigel
Xequte Software
www.imageen.com
mdgodfrey Posted - Apr 30 2024 : 16:34:16
Yes and Yes
xequte Posted - Apr 30 2024 : 16:05:01
Hi

Is this for a PDF document loaded with PDFium? I.e. you want to maintain the PDF document as it is just reposition some pages within it?

Nigel
Xequte Software
www.imageen.com