Skip to content

Commit 31531ab

Browse files
1234: Changes for saving the edited PDF document
1 parent 92a2967 commit 31531ab

2 files changed

Lines changed: 33 additions & 3 deletions

File tree

Document-Processing/PDF/PDF-Viewer/react/getting-started-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ domainurl: ##DomainURL##
99
---
1010

1111

12-
# Getting started with Syncfusion<sup style="font-size:70%">&reg;</sup> React PDF Viewer
12+
# Getting started with Syncfusion React PDF Viewer
1313

1414

1515
If you're starting to integrate the Syncfusion<sup style="font-size:70%">&reg;</sup> React PDF Viewer into your application, choose the path below that matches how you'll run the viewer in your app (client-only or via a web service) and follow that tutorial.

Document-Processing/PDF/PDF-Viewer/react/save-pdf-files.md

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,17 @@ domainurl: ##DomainURL##
1212

1313
After editing a PDF with annotation tools, you can save the updated file to a server, a database, or download it locally. The following sections show common approaches.
1414

15+
### Save and Download the Edited PDF
16+
17+
After editing the PDF document, follow this short, linear flow to persist and retrieve the updated file:
18+
19+
1. Persist the edited document to your backend (server or database). See "Save modified PDF to server" and "Save modified PDF to a database" below for server-side examples.
20+
2. Provide the updated file to the user. For a simple download use the built-in toolbar or call the viewer API [`download()`](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/index-default#download).
21+
3. If you need the edited PDF for custom uploads or processing, use the viewer [`saveAsBlob()`](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/index-default#saveasblob) API to obtain a Blob (or convert it to Base64).
22+
23+
This is a summary; use the detailed subsections below for full code samples and server-side instructions.
24+
25+
1526
## Save modified PDF to server
1627

1728
To save the modified PDF back to a server, follow these steps.
@@ -93,7 +104,7 @@ root.render(<App />);
93104

94105
## Download PDF file as a copy
95106

96-
The built-in toolbar includes a download option that saves the updated PDF to the user's local file system. You can also trigger the same behavior programmatically by calling the viewer's `download()` method.
107+
The built-in toolbar includes a download option that saves the updated PDF to the user's local file system. You can also trigger the same behavior programmatically by calling the viewer's [`download()`](https://ej2.syncfusion.com/react/documentation/api/pdfviewer/index-default#download) API.
97108

98109
{% raw %}
99110

@@ -223,4 +234,23 @@ N> Replace `Your connection string for SQL Server` with your actual connection s
223234

224235
N>: Ensure the `System.Data.SqlClient` package (or `Microsoft.Data.SqlClient`) is installed in your project. Use parameterized queries (as shown) and validate inputs to avoid SQL injection risks.
225236

226-
[View sample in GitHub](https://github.com/SyncfusionExamples/open-save-pdf-documents-in-database)
237+
[View sample in GitHub](https://github.com/SyncfusionExamples/open-save-pdf-documents-in-database)
238+
239+
### Save to Cloud Storage Services
240+
241+
Each link below goes to a provider page with simple, step-by-step instructions and example code for saving the edited PDF to that cloud storage service.
242+
243+
- [AWS S3](./save-pdf-file/to-amazon-s3)
244+
- [Azure Blob Storage](./save-pdf-file/to-azure-blob-storage)
245+
- [Google Cloud Storage](./save-pdf-file/to-google-cloud-storage)
246+
- [Google Drive](./save-pdf-file/to-google-drive)
247+
- [OneDrive](./save-pdf-file/to-one-drive)
248+
- [Dropbox](./save-pdf-file/to-dropbox-cloud-file-storage)
249+
- [Box](./save-pdf-file/to-box-cloud-file-storage)
250+
- [Azure AD (auth notes)](./save-pdf-file/to-azure-active-directory)
251+
---
252+
253+
See also:
254+
255+
- [Get Base64 value from a loaded PDF using saveAsBlob API](./how-to/get-base64)
256+
- [Open PDF files overview](./open-pdf-files)

0 commit comments

Comments
 (0)