This is a migrated thread and some comments may be shown as answers.

Re-ordering PDF thumbnails and combining into new documents

1 Answer 13 Views
PdfViewer and PdfViewerNavigator
This is a migrated thread and some comments may be shown as answers.
Jay
Top achievements
Rank 1
Jay asked on 26 Feb 2020, 01:21 PM

I am working with the RadPdfViewer and RadPdfStreamWriter components, and I have the need to be able to display thumbnails of each page of a group of PDF documents and allow a user to re-arrange the thumbnails to group together into new documents. This is the digital equivalent of taking a stack of papers and laying them out on a table to pick and choose how to assemble the pages back into distinct documents

I understand how to display the individual documents and the thumbnails of the pages, and I understand how to merge and split PDF documents using the PdfStreamWriter and PdfStreamReader, but I have not found a way to load multiple documents into a single viewer control and allow users to re-order the thumbnails. Is this functionality that is supported in the current WinForms controls?

 

 

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 27 Feb 2020, 03:30 PM

Hi,

Hello, Jay,

I would like to note that as the control name speaks for itself, RadPdfViewer allows only viewing a single PDF document at a time. It is not designed to provide pages reordering or loading multiple documents in it. 

Indeed, RadPdfProcessing library is a suitable approach to create and produce the desired document but RadPdfViewer is not expected to edit the document. 

Note that you may consider a different control which allows reordering of its items. Each item may be somehow associated with a specific page by using some text or value, not directly connected to the document. Then, after the user is done with reordering the items, you can iterate those items and using its stored information in the items, produce the final document. Thus, you will separate the UI from the exact document creating. For the UI part, you may consider using IconsView in RadListView
https://docs.telerik.com/devtools/winforms/controls/listview/listview 
https://docs.telerik.com/devtools/winforms/controls/listview/views 
https://docs.telerik.com/devtools/winforms/controls/listview/drag-and-drop/listviewdragdropservice  

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
PdfViewer and PdfViewerNavigator
Asked by
Jay
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or