How can make drag and drop thumbnail UI to change the sequence of the pages

Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.

Moderator: Alex

Post Reply
satish.trivedi
Posts: 10
Joined: Tue Sep 12, 2023 11:26 am

How can make drag and drop thumbnail UI to change the sequence of the pages

Post by satish.trivedi »

Using thumbnail how we can select and drag and drop pages (swap the document page)?
Alex
Site Admin
Posts: 2319
Joined: Thu Jul 10, 2008 2:21 pm

Re: How can make drag and drop thumbnail UI to change the sequence of the pages

Post by Alex »

Hello,

Current version (12.2.7.1) of Vintasoft web thumbnail viewer does not allow to swap pages in viewer using drag-and-drop.

Best regards, Alexander
chintan.shah
Posts: 13
Joined: Wed Sep 13, 2023 11:56 am

Re: How can make drag and drop thumbnail UI to change the sequence of the pages

Post by chintan.shah »

Hi Alex,

How would we get all thumbnails through Javascript, so we our self develop custom code to get and make thumbnail drag and drop.

Please refer below URL. Like this, we want it for thumbnails to work. So we can change the sequence of the thumbnails and then later we can save the document physically as per changed sequence.
https://jqueryui.com/sortable/#display-grid

Below is the high level code which we are using it to get the each thumbnail but it is not giving correct thumbnail. It is giving current visible document's big image:

Code: Select all

test = new Vintasoft.Imaging.DocumentViewer.WebDocumentViewerJS(
      docViewerSettings).get_ThumbnailViewer().get_Images().getImage(3).getImageAsBase64String();

Thanks
Chintan Shah
Alex
Site Admin
Posts: 2319
Joined: Thu Jul 10, 2008 2:21 pm

Re: How can make drag and drop thumbnail UI to change the sequence of the pages

Post by Alex »

Hi Chintan,

Current version does not have web API that allows to get thumbnails as a base64-string.

We will add the ability to sort thumbnails (using drag-and-drop) in web thumbnail viewer in near time (I think in 2 weeks).

Best regards, Alexander
chintan.shah
Posts: 13
Joined: Wed Sep 13, 2023 11:56 am

Re: How can make drag and drop thumbnail UI to change the sequence of the pages

Post by chintan.shah »

Hi Alex,

In which version should we expect? Any date?

Thanks,
Chintan Shah
Alex
Site Admin
Posts: 2319
Joined: Thu Jul 10, 2008 2:21 pm

Re: How can make drag and drop thumbnail UI to change the sequence of the pages

Post by Alex »

Hi Chintan,

We revised our plans and now the ability to sort thumbnails (using drag-and-drop) in web thumbnail viewer will be available in VintaSoft Imaging .NET SDK 12.3. We plan to release version 12.3 in November 2023.

Best regards, Alexander
chintan.shah
Posts: 13
Joined: Wed Sep 13, 2023 11:56 am

Re: How can make drag and drop thumbnail UI to change the sequence of the pages

Post by chintan.shah »

Thank you Alex for accommodating requested changes.

May we know which date in November, 2023?
Alex
Site Admin
Posts: 2319
Joined: Thu Jul 10, 2008 2:21 pm

Re: How can make drag and drop thumbnail UI to change the sequence of the pages

Post by Alex »

Hello,

Microsoft will release .NET 8 on November 14, 2023.

We plan to release VintaSoft Imaging .NET SDK 12.3 with .NET 8 support in 1-2 weeks after release of .NET 8.

Best regards, Alexander
Alex
Site Admin
Posts: 2319
Joined: Thu Jul 10, 2008 2:21 pm

Re: How can make drag and drop thumbnail UI to change the sequence of the pages

Post by Alex »

Hi Chintan,

VintaSoft Imaging .NET SDK 12.3 has been released today and now VintaSoft Web Thumbnail Viewer allows to rearrange thumbnails using the drag-and-drop operation.

Best regards, Alexander
Post Reply