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
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -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
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -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
+72Lines changed: 72 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -532,6 +532,78 @@ 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
+
By running the above code, you will generate a **PDF with editable text form fields** as shown below.
603
+

604
+
605
+
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).
606
+
535
607
## Chart quality
536
608
537
609
The Presentation library provides an option to decide the quality of the charts to optimize the converted PDF document size.
Copy file name to clipboardExpand all lines: Document-Processing/Word/Conversions/Word-To-Image/NET/Fallback-fonts-word-to-image.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -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
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -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.
0 commit comments