You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Document-Processing/PowerPoint/Conversions/PowerPoint-To-Image/NET/Fallback-Fonts-in-PPTXtoImage-Conversion.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,7 @@ using (FileStream fileStreamInput = new FileStream("Template.pptx", FileMode.Ope
103
103
104
104
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-Image-conversion/Fallback-fonts-based-on-scripttype).
105
105
106
-
## Fallback Symbols based on script type
106
+
## Fallback fonts for symbols
107
107
108
108
The following code example demonstrates how a user can add fallback fonts for Symbols and Emojis, which Presentation considers internally when converting a PowerPoint presentation to an Image.
109
109
@@ -142,6 +142,8 @@ using (FileStream fileStreamInput = new FileStream("Template.pptx", FileMode.Ope
142
142
143
143
{% endtabs %}
144
144
145
+
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-Image-conversion/Fallback-symbols-based-on-scripttype/)
146
+
145
147
## Fallback fonts for range of Unicode text
146
148
147
149
Users can set fallback fonts for specific Unicode range of text to be used in Presentation to Image conversion.
Copy file name to clipboardExpand all lines: Document-Processing/PowerPoint/Conversions/PowerPoint-To-PDF/NET/Fallback-Fonts-in-PPTXtoPDF-Conversion.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -210,7 +210,7 @@ pptxDoc.Close()
210
210
211
211
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-PDF-conversion/Fallback-fonts-based-on-scripttype).
212
212
213
-
## Fallback Symbols based on script type
213
+
## Fallback fonts for symbols
214
214
215
215
The following code example demonstrates how a user can add fallback fonts for Symbols and Emojis, which Presentation considers internally when converting a PowerPoint presentation to PDF.
216
216
@@ -298,6 +298,8 @@ pptxDoc.Close()
298
298
299
299
{% endtabs %}
300
300
301
+
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-PDF-conversion/Fallback-symbols-based-on-scripttype/)
302
+
301
303
## Fallback fonts for range of Unicode text
302
304
303
305
Users can set fallback fonts for specific Unicode range of text to be used in presentation to PDF conversion.
Copy file name to clipboardExpand all lines: Document-Processing/PowerPoint/Conversions/PowerPoint-To-PDF/overview.md
+73-4Lines changed: 73 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ control: PowerPoint
6
6
documentation: UG
7
7
---
8
8
9
-
# Convert PowerPoint to PDF using Syncfusion<sup>®</sup> PowerPoint library
9
+
# Convert PowerPoint to PDF using Syncfusion® PowerPoint library
10
10
11
11
Syncfusion<sup>®</sup> PowerPoint library (Presentation) allows you to convert PowerPoint Presentation document to PDF within a few lines of code in .NET applications and also it does not require Adobe and Microsoft PowerPoint application to be installed in the machine. Using this, you can create an input PowerPoint Presentation document from scratch or load an existing PowerPoint Presentation document and then easily convert to PDF.
12
12
@@ -532,6 +532,75 @@ End Using
532
532
533
533
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-PDF-conversion/Convert-PowerPoint-into-accessible-PDF).
534
534
535
+
## PowerPoint shapes to PDF form field
536
+
537
+
This setting allows you to **preserve PowerPoint shapes as PDF form fields** in the converted PDF document. Shapes with names starting with **FormField_** will be converted into **editable text form fields** in the resulting PDF. This feature helps in creating **interactive and fillable PDF forms** from PowerPoint presentations.
538
+
539
+
The following code sample shows how to preserve PowerPoint form fields as PDF form fields in the converted PDF document.
using (FileStream fileStream = new FileStream(Path.GetFullPath(@"Data/Template.pptx"), FileMode.Open, FileAccess.Read, FileShare.ReadWrite))
546
+
{
547
+
//Load an existing PowerPoint Presentation.
548
+
using (IPresentation pptxDoc = Presentation.Open(fileStream))
549
+
{
550
+
// Create new instance for PresentationToPdfConverterSettings
551
+
PresentationToPdfConverterSettings settings = new PresentationToPdfConverterSettings();
552
+
//Enables a flag to preserve form fields by converting shapes with names starting with 'FormField_' into editable text form fields in the PDF.
553
+
settings.PreserveFormFields = true;
554
+
//Convert PowerPoint into PDF document.
555
+
using (PdfDocument pdfDocument = PresentationToPdfConverter.Convert(pptxDoc))
556
+
{
557
+
//Save the PDF file to file system.
558
+
using (FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/PPTXToPDF.pdf"), FileMode.Create, FileAccess.ReadWrite, FileShare.ReadWrite))
Using pptxDoc As IPresentation = Presentation.Open("Template.pptx")
587
+
'Create new instance for PresentationToPdfConverterSettings
588
+
Dim settings As New PresentationToPdfConverterSettings()
589
+
'Enables a flag to preserve form fields by converting shapes with names starting with 'FormField_' into editable text form fields in the PDF.
590
+
settings.PreserveFormFields = True
591
+
'Convert the PowerPoint Presentation into a PDF document.
592
+
Using pdfDocument As PdfDocument = PresentationToPdfConverter.Convert(pptxDoc, settings)
593
+
'Save a PDF document.
594
+
pdfDocument.Save("Result.pdf")
595
+
End Using
596
+
End Using
597
+
598
+
{% endhighlight %}
599
+
600
+
{% endtabs %}
601
+
602
+
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-PDF-conversion/Create-fillable-PDF-from-PPTX).
603
+
535
604
## Chart quality
536
605
537
606
The Presentation library provides an option to decide the quality of the charts to optimize the converted PDF document size.
@@ -681,9 +750,9 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
681
750
682
751
## Online Demo
683
752
684
-
* Explore how to convert a PowerPoint presentation to PDF using the .NET PowerPoint Library (Presentation) in a live demo [here](https://ej2.syncfusion.com/aspnetcore/powerpoint/pptxtopdf#/bootstrap5).
685
-
* See how to convert a PowerPoint presentation to PDF/UA using the .NET PowerPoint Library (Presentation) in a live demo [here](https://ej2.syncfusion.com/aspnetcore/powerpoint/pptxtopdfua#/bootstrap5).
686
-
* See how to convert a PowerPoint presentation to PDF/A using the .NET PowerPoint Library (Presentation) in a live demo [here](https://ej2.syncfusion.com/aspnetcore/powerpoint/pptxtopdfa#/bootstrap5).
753
+
* Explore how to convert a PowerPoint presentation to PDF using the .NET PowerPoint Library (Presentation) in a live demo [here](https://document.syncfusion.com/demos/powerpoint/pptxtopdf#/tailwind).
754
+
* See how to convert a PowerPoint presentation to PDF/UA using the .NET PowerPoint Library (Presentation) in a live demo [here](https://document.syncfusion.com/demos/powerpoint/pptxtopdfua#/tailwind).
755
+
* See how to convert a PowerPoint presentation to PDF/A using the .NET PowerPoint Library (Presentation) in a live demo [here](https://document.syncfusion.com/demos/powerpoint/pptxtopdfa#/tailwind).
Copy file name to clipboardExpand all lines: Document-Processing/Word/Conversions/Word-To-Image/NET/Fallback-fonts-word-to-image.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,7 +111,7 @@ using (FileStream inputStream = new FileStream("Template.docx", FileMode.Open, F
111
111
112
112
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/DocIO-Examples/tree/main/Word-to-Image-conversion/Fallback-fonts-based-on-scripttype).
113
113
114
-
## Fallback Symbols based on script type
114
+
## Fallback fonts for symbols
115
115
116
116
The following code example demonstrates how a user can add fallback fonts for Symbols and Emojis, which DocIO considers internally when converting a Word document to image.
117
117
@@ -154,6 +154,8 @@ using (FileStream inputStream = new FileStream("Template.docx", FileMode.Open, F
154
154
155
155
{% endtabs %}
156
156
157
+
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/DocIO-Examples/tree/main/Word-to-Image-conversion/Fallback-symbol-based-on-scripttype/)
158
+
157
159
## Fallback fonts for range of Unicode text
158
160
159
161
Users can set fallback fonts for specific Unicode range of text to be used in Word to Image conversion.
Copy file name to clipboardExpand all lines: Document-Processing/Word/Conversions/Word-To-Image/NET/Font-substituion-word-to-image.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -222,3 +222,7 @@ End Sub
222
222
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/DocIO-Examples/tree/main/Word-to-Image-conversion/Use-alternate-font-without-installing).
223
223
224
224
N> The above event will be triggered only if the specified font is not installed in production machine.
225
+
226
+
## See Also
227
+
228
+
*[How to get the list of font names used in a Word document?](https://support.syncfusion.com/kb/article/22134/how-to-get-the-list-of-font-names-used-in-a-word-document-in-c-net-core)
Copy file name to clipboardExpand all lines: Document-Processing/Word/Conversions/Word-To-PDF/NET/Fallback-fonts-word-to-pdf.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -195,7 +195,7 @@ End Using
195
195
196
196
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/DocIO-Examples/tree/main/Word-to-PDF-Conversion/Fallback-fonts-based-on-scripttype).
197
197
198
-
## Fallback Symbols based on script type
198
+
## Fallback fonts for symbols
199
199
200
200
The following code example demonstrates how a user can add fallback fonts for Symbols and Emojis, which DocIO considers internally when converting a Word document to PDF.
201
201
@@ -276,7 +276,7 @@ End Using
276
276
277
277
{% endtabs %}
278
278
279
-
279
+
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/DocIO-Examples/tree/main/Word-to-PDF-Conversion/Fallback-fonts-based-on-scripttype/)
Copy file name to clipboardExpand all lines: Document-Processing/Word/Conversions/Word-To-PDF/NET/Font-substituion-word-to-pdf.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -216,3 +216,7 @@ End Sub
216
216
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/DocIO-Examples/tree/main/Word-to-PDF-Conversion/Use-alternate-font-without-installing).
217
217
218
218
N> The above event will be triggered only if the specified font is not installed in production machine.
219
+
220
+
## See Also
221
+
222
+
*[How to get the list of font names used in a Word document?](https://support.syncfusion.com/kb/article/22134/how-to-get-the-list-of-font-names-used-in-a-word-document-in-c-net-core)
Add **accent** equation to a Word document using the LaTeX through [AppendMath](https://help.syncfusion.com/cr/document-processing/Syncfusion.DocIO.DLS.WParagraph.html#Syncfusion_DocIO_DLS_WParagraph_AppendMath_System_String_) API.
@@ -2061,8 +2064,8 @@ You can download a complete working sample from [GitHub](https://github.com/Sync
2061
2064
2062
2065
## Online Demo
2063
2066
2064
-
* Explore how to create a Word document with mathematical equations using LaTeX and the .NET Word Library (DocIO) in a live demo [here](https://ej2.syncfusion.com/aspnetcore/word/createusinglatex#/bootstrap5).
2065
-
* See how to modify a mathematical equation using LaTeX in a Word document using the .NET Word Library (DocIO) in a live demo [here](https://ej2.syncfusion.com/aspnetcore/word/editusinglatex#/bootstrap5).
2067
+
* Explore how to create a Word document with mathematical equations using LaTeX and the .NET Word Library (DocIO) in a live demo [here](https://document.syncfusion.com/demos/word/createusinglatex#/tailwind).
2068
+
* See how to modify a mathematical equation using LaTeX in a Word document using the .NET Word Library (DocIO) in a live demo [here](https://document.syncfusion.com/demos/word/editusinglatex#/tailwind).
0 commit comments