Skip to content

Commit 088fdf6

Browse files
Merge pull request #1831 from syncfusion-content/993089-videoD
993089: video for export PDF in document Editor
2 parents 59baf40 + ee59357 commit 088fdf6

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Document-Processing/Word/Word-Processor/react/how-to/export-document-as-pdf.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,13 @@ domainurl: ##DomainURL##
1212

1313
In this article, we are going to see how to export the document as PDF format. You can export the document as PDF in following ways:
1414

15+
To quickly get started with exporting to PDF in the Document Editor, check out the video below.
16+
17+
{% youtube "https://www.youtube.com/watch?v=YMNGYPrDyv0" %}
18+
1519
## Export the document as pdf in client-side
1620

17-
Use [`pdf export component`](https://www.npmjs.com/package/@syncfusion/ej2-pdf-export) in application level to export the document as pdf using [`exportAsImage`](https://ej2.syncfusion.com/react/documentation/api/document-editor/#exportasimage) API. Here, all pages will be converted to image and inserted as pdf pages(works like print as PDF).
21+
Use [`pdf export component`](https://www.npmjs.com/package/@syncfusion/ej2-pdf-export) in application level to export the document as pdf using [`exportAsImage`](https://ej2.syncfusion.com/react/documentation/api/document-editor/index-default#exportasimage) API. Here, all pages will be converted to image and inserted as pdf pages(works like print as PDF).
1822

1923
>Note:
2024
* The Document Editor exports PDFs by converting pages into images on the client side, which may slightly increase file size compared to text-based PDFs.
@@ -107,7 +111,7 @@ With the help of [`Syncfusion DocIO`](https://help.syncfusion.com/file-formats/d
107111

108112
The following way illustrates how to convert the document as PDF:
109113

110-
* Using [`serialize`](https://ej2.syncfusion.com/react/documentation/api/document-editor/#serialize) API, convert the document as Sfdt and send it to server-side.
114+
* Using [`serialize`](https://ej2.syncfusion.com/react/documentation/api/document-editor/index-default#serialize) API, convert the document as Sfdt and send it to server-side.
111115

112116
The following example code illustrates how to convert the document to sfdt and pass it to server-side.
113117

@@ -181,4 +185,4 @@ public void ExportPdf([FromBody]SaveParameter data)
181185
}
182186
```
183187

184-
Get the complete working sample in this [`link`](https://github.com/SyncfusionExamples/Export-document-as-PDF-in-Document-Editor/).
188+
Get the complete working sample in this [`link`](https://github.com/SyncfusionExamples/Export-document-as-PDF-in-Document-Editor/).

0 commit comments

Comments
 (0)