logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Post a reply
From:
Message:

Maximum number of characters in each post is: 32767
Bold Italic Underline   Highlight Quote Choose Language for Syntax Highlighting Insert Image Insert an existing Attachment or upload a new File... Create Link   Unordered List Ordered List   Left Justify Center Justify Right Justify   Outdent Indent   More BBCode Tags
Font Color Font Size
Security Image:
Enter The Letters From The Security Image:
  Preview Post Cancel

Last 10 Posts (In reverse order)
kdhelbig Posted: Wednesday, April 30, 2025 4:32:28 AM(UTC)
 
I had the same request and found the following solution:
Loading the pdf in PdfViewer a extracted each page as a single file and stored it in a temporaryy folder (I think a memory stream could olso be used).
the files ar stored in a dictionary with page number as key and filename as value.
Thencapturing the mouse position(starting in mouse move event), get the page number and searched for the single pages file name.
In the mouse up event I created a new pdf file )merging all single page files with the new order in a 'result pdf' and loaded this new created 'result pdf' in the PdfViewer.
Because the files are stored an undo and redo functionality is easy to implement.
Hope that idea helps.
Regards
Klaus.
paleise Posted: Thursday, September 19, 2024 6:11:51 AM(UTC)
 
Hi,
showing a pdf document with win PdfViewer.
Is it possible to change page index with dragdrop? Drag page three and drop it as page 1.

Thanks for your time.

Regards Peter