Save document at server side physically using API

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

Save document at server side physically using API

Post by satish.trivedi »

If we have deleted or added few pages from UI/JavaScript methods then how can we save that document (edited pdf with less pages) at server side physically? Is there any Web API available for this?

Like in below code we have removed selected page, however, how to save edited file at server side?

let selectedPage = docViewer.getFocusedIndex();
imageViewer.get_Images().removeAt(selectedPage);
Alex
Site Admin
Posts: 2319
Joined: Thu Jul 10, 2008 2:21 pm

Re: Save document at server side physically using API

Post by Alex »

Hello,

Current version (12.2.7.1) of VintaSoft Web Document Viewer does not allow to delete pages from source multipage document (file stored on server).

You can create necessary web actions by yourself because VintaSoft Imaging .NET SDK (.NET code on server side) allows to delete pages from multipage document.

Let me know if you will have any question or problem

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

Re: Save document at server side physically using API

Post by Alex »

In version 12.2.8.1 we will add the WebDocumentViewerJS.removePage function. This function allows to remove page from multipage image file or multipage document on server.

For solving your task you will need to do the following steps:
  • Delete pages from file.
  • Download file from server.
Best regards, Alexander
chintan.shah
Posts: 13
Joined: Wed Sep 13, 2023 11:56 am

Re: Save document at server side physically using API

Post by chintan.shah »

Hi Alex,

We found on 25-Sep, 12.2.8.1 version has been released but as per you we do not found below mentioned functionality available, could you please correct us or let us know when we get this functionality available (in which version)?

Reference link: https://www.vintasoft.com/forums/viewto ... 434#p10434

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

Re: Save document at server side physically using API

Post by Alex »

Hi Chintan,

We revised our plans and now the ability to delete pages from document, which is loaded in web document viewer, will be available in VintaSoft Imaging .NET SDK 12.3. We plan to release version 12.3 in November 2023.

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

Re: Save document at server side physically using API

Post by Alex »

Hi Chintan,

VintaSoft Imaging .NET SDK 12.3 has been released today. In this version web document viewer can:
  • Remove page, remove pages, swap pages.
  • Save changes (reorder pages, annotations, form fields) in processed document.
  • Export processed document with annotations to PDF or TIFF file.
Best regards, Alexander
Post Reply