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);
Save document at server side physically using API
Moderator: Alex
-
- Posts: 10
- Joined: Tue Sep 12, 2023 11:26 am
-
- Site Admin
- Posts: 2397
- Joined: Thu Jul 10, 2008 2:21 pm
Re: Save document at server side physically using API
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
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
-
- Site Admin
- Posts: 2397
- Joined: Thu Jul 10, 2008 2:21 pm
Re: Save document at server side physically using API
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:
For solving your task you will need to do the following steps:
- Delete pages from file.
- Download file from server.
-
- Posts: 13
- Joined: Wed Sep 13, 2023 11:56 am
Re: Save document at server side physically using API
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
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
-
- Site Admin
- Posts: 2397
- Joined: Thu Jul 10, 2008 2:21 pm
Re: Save document at server side physically using API
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
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
-
- Site Admin
- Posts: 2397
- Joined: Thu Jul 10, 2008 2:21 pm
Re: Save document at server side physically using API
Hi Chintan,
VintaSoft Imaging .NET SDK 12.3 has been released today. In this version web document viewer can:
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.