Skip to content

Commit 878fd64

Browse files
committed
Updated the hyperlink
1 parent 77a930b commit 878fd64

File tree

8 files changed

+90
-1
lines changed

8 files changed

+90
-1
lines changed

Document-Processing/PowerPoint/Conversions/PowerPoint-To-Image/NET/Fallback-Fonts-in-PPTXtoImage-Conversion.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ using (FileStream fileStreamInput = new FileStream("Template.pptx", FileMode.Ope
142142

143143
{% endtabs %}
144144

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+
145147
## Fallback fonts for range of Unicode text
146148

147149
Users can set fallback fonts for specific Unicode range of text to be used in Presentation to Image conversion.

Document-Processing/PowerPoint/Conversions/PowerPoint-To-PDF/NET/Fallback-Fonts-in-PPTXtoPDF-Conversion.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,8 @@ pptxDoc.Close()
298298

299299
{% endtabs %}
300300

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+
301303
## Fallback fonts for range of Unicode text
302304

303305
Users can set fallback fonts for specific Unicode range of text to be used in presentation to PDF conversion.

Document-Processing/PowerPoint/Conversions/PowerPoint-To-PDF/overview.md

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,78 @@ End Using
532532

533533
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).
534534

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.
540+
541+
{% tabs %}
542+
543+
{% highlight C# tabtitle="C# [Cross-platform]" playgroundButtonLink="https://raw.githubusercontent.com/SyncfusionExamples/PowerPoint-Examples/master/PPTX-to-PDF-conversion/Create-fillable-PDF-from-PPTX/.NET/Create-fillable-PDF-from-PPTX/Program.cs" %}
544+
//Open the PowerPoint file stream.
545+
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))
559+
{
560+
pdfDocument.Save(outputStream);
561+
}
562+
}
563+
}
564+
}
565+
{% endhighlight %}
566+
567+
{% highlight C# tabtitle="C# [Windows-specific]" %}
568+
//Open a PowerPoint Presentation.
569+
using (IPresentation pptxDoc = Presentation.Open("Template.pptx"))
570+
{
571+
// Create new instance for PresentationToPdfConverterSettings
572+
PresentationToPdfConverterSettings settings = new PresentationToPdfConverterSettings();
573+
//Enables a flag to preserve form fields by converting shapes with names starting with 'FormField_' into editable text form fields in the PDF.
574+
settings.PreserveFormFields = true;
575+
//Convert the PowerPoint Presentation into a PDF document.
576+
using (PdfDocument pdfDocument = PresentationToPdfConverter.Convert(pptxDoc, pdfConverterSettings))
577+
{
578+
//Save a PDF document.
579+
pdfDocument.Save("Result.pdf");
580+
}
581+
}
582+
{% endhighlight %}
583+
584+
{% highlight vb.net tabtitle="VB.NET [Windows-specific]" %}
585+
'Open a PowerPoint Presentation.
586+
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+
![Editable text form fields](PPTXtoPDF_images/Editable-text-form-fields.png)
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+
535607
## Chart quality
536608

537609
The Presentation library provides an option to decide the quality of the charts to optimize the converted PDF document size.

Document-Processing/Word/Conversions/Word-To-Image/NET/Fallback-fonts-word-to-image.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ using (FileStream inputStream = new FileStream("Template.docx", FileMode.Open, F
154154

155155
{% endtabs %}
156156

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+
157159
## Fallback fonts for range of Unicode text
158160

159161
Users can set fallback fonts for specific Unicode range of text to be used in Word to Image conversion.

Document-Processing/Word/Conversions/Word-To-Image/NET/Font-substituion-word-to-image.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,3 +222,7 @@ End Sub
222222
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).
223223

224224
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)

Document-Processing/Word/Conversions/Word-To-PDF/NET/Fallback-fonts-word-to-pdf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ End Using
276276

277277
{% endtabs %}
278278

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/)
280280

281281
## Fallback fonts for range of Unicode text
282282

Document-Processing/Word/Conversions/Word-To-PDF/NET/Font-substituion-word-to-pdf.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,3 +216,7 @@ End Sub
216216
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).
217217

218218
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)

Document-Processing/Word/Word-Library/NET/Working-with-LaTeX.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ documentation: UG
99
# Create Equation using LaTeX
1010
The .NET Word (DocIO) library allows to create mathematical equation in Word document using **LaTeX**.
1111

12+
To quickly start working with LaTeX Equations, please check out this video:
13+
{% youtube "https://www.youtube.com/watch?v=pdN4HNlKTJs" %}
14+
1215
## Accent
1316

1417
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

Comments
 (0)