From ef13f6b7043fe9c179d3b54afb898dfa53669d90 Mon Sep 17 00:00:00 2001
From: DharanitharanA <97955635+DharanitharanA@users.noreply.github.com>
Date: Tue, 19 Sep 2023 11:05:02 +0530
Subject: [PATCH 1/2] ES-846833-Added Github sample links for Presentation
samples in UG page, Added SKiaSharp library link in word to pdf linux page,
Added code sample for Picture watermark sample
---
File-Formats-toc.html | 79 +++++++++++++++++++
File-Formats/DocIO/Applying-Watermark.md | 26 +++++-
.../DocIO/word-to-pdf-linux-docker.md | 1 +
File-Formats/Presentation/Comments.md | 12 +++
.../Presentation/Presentation-to-PDF.md | 34 ++++++++
.../Presentation/Presentation-to-image.md | 28 ++++++-
File-Formats/Presentation/Security.md | 8 ++
File-Formats/Presentation/SmartArt.md | 12 +++
.../Presentation/Working-with-Animation.md | 19 +++++
.../Presentation/Working-with-Hyperlinks.md | 18 ++++-
.../Presentation/Working-with-Macros.md | 3 +
.../Presentation/Working-with-NotesSlide.md | 10 ++-
.../Presentation/Working-with-OLE-Objects.md | 12 ++-
.../Working-with-headers-and-footers.md | 16 ++++
.../Presentation/Working-with-sections.md | 18 ++++-
...nnectors-in-powerpoint-slides-cs-vb-net.md | 12 ++-
...owerpoint-presentation-slides-cs-vb-net.md | 12 +++
...t-powerpoint-files-in-asp-net-web-forms.md | 4 +-
...te-read-edit-powerpoint-files-in-blazor.md | 4 +
...eate-read-edit-powerpoint-files-in-maui.md | 4 +-
...reate-read-edit-powerpoint-files-in-uwp.md | 4 +
...-edit-powerpoint-files-in-windows-forms.md | 4 +
...ate-read-edit-powerpoint-files-in-winui.md | 8 +-
...reate-read-edit-powerpoint-files-in-wpf.md | 4 +
...e-read-edit-powerpoint-files-in-xamarin.md | 4 +
25 files changed, 343 insertions(+), 13 deletions(-)
diff --git a/File-Formats-toc.html b/File-Formats-toc.html
index 0e3900dfb..6a0ac0802 100644
--- a/File-Formats-toc.html
+++ b/File-Formats-toc.html
@@ -283,6 +283,85 @@
Working with Document Conversion
- Word File Formats
+ - Word to PDF
+
+
- Word Document to Image
-
diff --git a/File-Formats/DocIO/Applying-Watermark.md b/File-Formats/DocIO/Applying-Watermark.md
index 03caadba9..c2e793517 100644
--- a/File-Formats/DocIO/Applying-Watermark.md
+++ b/File-Formats/DocIO/Applying-Watermark.md
@@ -106,7 +106,31 @@ The following code example illustrates how to add a picture watermark to the Wor
{% tabs %}
{% highlight c# tabtitle="C# [Cross-platform]" %}
-//DocIO supports picture watermark in Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms alone.
+
+//Creates a new Word document
+WordDocument document = new WordDocument();
+//Adds a section and a paragraph in the document
+document.EnsureMinimal();
+IWParagraph paragraph = document.LastParagraph;
+paragraph.AppendText("AdventureWorks Cycles, the fictitious company on which the AdventureWorks sample databases are based, is a large, multinational manufacturing company.");
+//Creates a new picture watermark.
+PictureWatermark picWatermark = new PictureWatermark();
+//Sets the scaling to picture.
+picWatermark.Scaling = 120f;
+picWatermark.Washout = true;
+//Sets the picture watermark to document.
+document.Watermark = picWatermark;
+FileStream imageStream = new FileStream("Water lilies.jpg", FileMode.Open, FileAccess.Read);
+BinaryReader br = new BinaryReader(imageStream);
+byte[] image = br.ReadBytes((int)imageStream.Length);
+//Sets the image to the picture watermark.
+picWatermark.LoadPicture(image);
+//Saves the Word document to MemoryStream
+MemoryStream stream = new MemoryStream();
+document.Save(stream, FormatType.Docx);
+//Closes the document
+document.Close();
+
{% endhighlight %}
{% highlight c# tabtitle="C# [Windows-specific]" %}
diff --git a/File-Formats/DocIO/word-to-pdf-linux-docker.md b/File-Formats/DocIO/word-to-pdf-linux-docker.md
index 6d70bb4cc..d752228f9 100644
--- a/File-Formats/DocIO/word-to-pdf-linux-docker.md
+++ b/File-Formats/DocIO/word-to-pdf-linux-docker.md
@@ -21,6 +21,7 @@ Step 2: Install the below NuGet packages as a reference to your project from [Nu
* [Syncfusion.DocIORenderer.Net.Core](https://www.nuget.org/packages/Syncfusion.DocIORenderer.Net.Core/)
* [SkiaSharp.NativeAssets.Linux v2.80.2](https://www.nuget.org/packages/SkiaSharp.NativeAssets.Linux/2.80.2)
+* [HarfBuzzSharp.NativeAssets.Linux v2.8.2.2](https://www.nuget.org/packages/HarfBuzzSharp.NativeAssets.Linux/2.8.2.2)


diff --git a/File-Formats/Presentation/Comments.md b/File-Formats/Presentation/Comments.md
index 98c65c4bc..c3e454817 100644
--- a/File-Formats/Presentation/Comments.md
+++ b/File-Formats/Presentation/Comments.md
@@ -57,6 +57,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Comments/Add-comments-in-PowerPoint).
+
## Replying to a comment
The following code example demonstrates how to reply to an existing comment in a slide.
@@ -111,6 +113,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Comments/Add-reply-comment-in-PowerPoint).
+
## Modifying the comment
The following code example demonstrates how to modify the content of a comment.
@@ -164,6 +168,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Comments/Modify-comment-content).
+
The following code example demonstrates how to modify the author name of a comment.
{% tabs %}
@@ -217,6 +223,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Comments/Modify-comment-author).
+
## Deleting the comment
Deleting a comment will remove all its replies from the PowerPoint slide. You can also delete a particular reply comment from a slide. You can delete a comment by specifying its reference or by specifying its position.
@@ -274,6 +282,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Comments/Delete-comment).
+
The following code example demonstrates how to delete a comment by specifying its position.
{% tabs %}
@@ -320,3 +330,5 @@ pptxDoc.Close()
{% endhighlight %}
{% endtabs %}
+
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Comments/Delete-comment-by-position).
\ No newline at end of file
diff --git a/File-Formats/Presentation/Presentation-to-PDF.md b/File-Formats/Presentation/Presentation-to-PDF.md
index f650db584..b740f01a5 100644
--- a/File-Formats/Presentation/Presentation-to-PDF.md
+++ b/File-Formats/Presentation/Presentation-to-PDF.md
@@ -94,6 +94,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-PDF-conversion/Convert-PowerPoint-presentation-to-PDF/.NET).
+
N> 1. Creating an instance of [ChartToImageConverter](https://help.syncfusion.com/cr/file-formats/Syncfusion.OfficeChartToImageConverter.ChartToImageConverter.html) class is mandatory to convert the charts present in the Presentation to PDF. Otherwise, the charts are not exported to the converted PDF
N> 2. The assembly "Syncfusion.SfChart.WPF" is non compliance with FIPS (Federal Information Processing Standard) algorithm policy.
N> 3. **In .NET Core targeting applications**, metafile images such as EMF and WMF have some limitations. So, those images will not preserve in Presentation document to PDF conversion using Essential Presentation.
@@ -227,6 +229,8 @@ End Sub
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-PDF-conversion/Apply-substitution-font-name).
+
### Upload font stream
The following code example demonstrates how to upload a font stream for missing font while converting a PowerPoint presentation to PDF. The provided alternate font stream is not mandatory to be installed in the production environment.
@@ -334,6 +338,8 @@ End Sub
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-PDF-conversion/Apply-substitution-font-stream).
+
## Fallback fonts
When a glyph of input text is unavailable in mentioned font, text will not be preserved in PPTX to PDF conversion. To avoid this, Syncfusion PowerPoint library allows you to use a fallback font to preserve the text properly in PPTX to PDF conversion.
@@ -414,6 +420,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-PDF-conversion/Apply-fallback-fonts).
+
### Customize Default Fallback Fonts
The following code example demonstrates how to customize default fallback font while converting a PowerPoint presentation to PDF.
@@ -499,6 +507,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-PDF-conversion/Customize-default-fallback-fonts).
+
### Add Custom Fallback Fonts
The following code example demonstrates how to add custom fallback fonts while converting a PowerPoint presentation to PDF.
@@ -608,6 +618,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-PDF-conversion/Add-custom-fallback-fonts).
+
N> 1. Fallback fonts only supported for Arabic, Hebrew, Hindi, Chinese, Japanese and Korean languages.
N> 2. Its only supported in [Direct PDF](https://help.syncfusion.com/file-formats/presentation/presentation-to-pdf#powerpoint-to-pdf-conversion-in-azure-platform) and [Portable](https://help.syncfusion.com/file-formats/presentation/presentation-to-pdf) PDF conversion modules.
@@ -700,6 +712,8 @@ public class DocumentWarning : IWarning
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-PDF-conversion/Show-warning-for-unsupported-elements).
+
## Handouts
The Presentation library allows you to convert a PowerPoint presentation to PDF document with [Handouts](https://help.syncfusion.com/cr/file-formats/Syncfusion.PresentationToPdfConverter.PublishOptions.html) option. Thus, the library allows selecting the number of slides to be included per PDF page. This helps converting multiple PowerPoint slides within a single PDF page.
@@ -745,6 +759,8 @@ pdfDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-PDF-conversion/Convert-PowerPoint-to-PDF-with-handouts).
+
## Notes pages
The Presentation library allows you to convert a PowerPoint presentation to PDF document with 'notes pages' option, which will includes the notes content while PDF conversion.
@@ -787,6 +803,8 @@ pdfDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-PDF-conversion/Convert-PowerPoint-to-PDF-with-notes).
+
## Include hidden slides
The PowerPoint presentation supports hiding the slides in a presentation document. The hidden slides will not be included in the converted PDF document, by default. The Presentation library provides support to include or exclude the hidden slides while converting a PowerPoint presentation to PDF document.
@@ -830,6 +848,8 @@ pdfDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-PDF-conversion/PowerPoint-to-PDF-with-hidden-slides).
+
## Recreate Nested Metafile
This setting allows you to regenerate the nested EMF images in the PowerPoint presentation document during PDF conversion.
@@ -882,6 +902,8 @@ End Using
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-PDF-conversion/PowerPoint-to-PDF-with-nested-metafile).
+
## PDF Conformance
Essential Presentation currently supports following PDF conformances while converting a PowerPoint document to PDF.
@@ -932,6 +954,8 @@ pdfDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-PDF-conversion/Set-PDF-conformance-level).
+
## Accessible PDF document
This setting allows you to determine whether to preserve structured document tags in the converted PDF document for accessibility **(508 or PDF/UA compliance)** support. This property will set the title and description for images, diagrams, and other objects in the generated PDF document. This information will be helpful for **people with vision or cognitive impairments** who may not be able to see or understand the object.
@@ -1003,6 +1027,8 @@ End Using
{% endtabs %}
+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).
+
## Chart quality
The Presentation library provides an option to decide the quality of the charts to optimize the converted PDF document size.
@@ -1050,6 +1076,8 @@ pdfDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-PDF-conversion/Set-chart-quality).
+
## Optimizing the converted PDF document size
**Optimizing the identical images**
@@ -1096,6 +1124,8 @@ pdfDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-PDF-conversion/Optimize-duplicate-images).
+
**Optimizing the image quality and resolution**
You may have high resolution images in the PowerPoint slides which will impact the size of the converted PDF document. The Presentation library allows you to optimize the document size, by adjusting the quality and resolution of the images while converting the PowerPoint presentation to PDF document.
@@ -1144,6 +1174,8 @@ pdfDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-PDF-conversion/Optimize-image-quality-and-resolution).
+
## PowerPoint to PDF conversion in Azure platform
The Syncfusion PowerPoint library supports converting the PowerPoint document to PDF in Azure platform. The following code sample demonstrates how to convert a PowerPoint presentation to PDF in Azure platform.
@@ -1186,6 +1218,8 @@ pdfDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-PDF-conversion/Convert-PowerPoint-presentation-to-PDF/Azure).
+
## See Also
* [How to convert PPTX to PDF in Blazor WebAssembly (WASM)?](https://support.syncfusion.com/kb/article/12120/how-to-convert-pptx-to-pdf-in-blazor-webassembly-wasm)
diff --git a/File-Formats/Presentation/Presentation-to-image.md b/File-Formats/Presentation/Presentation-to-image.md
index d04216694..eca96a2a9 100644
--- a/File-Formats/Presentation/Presentation-to-image.md
+++ b/File-Formats/Presentation/Presentation-to-image.md
@@ -107,6 +107,8 @@ Presentation_1.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-Image-conversion/Convert-PowerPoint-slide-to-Image/.NET).
+
## Convert PowerPoint Presentation to images
The following code example demonstrates the conversion of an entire Presentation to images:
@@ -146,6 +148,8 @@ Next
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image).
+
## Image resolution
The following code snippet demonstrates how to convert a PowerPoint slide to image using custom image resolution,
@@ -198,6 +202,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-Image-conversion/Change-resolution-of-converted-image).
+
## Convert PowerPoint Animations to Images
The .NET PowerPoint Library (Presentation) allows you to convert PowerPoint slides into images based on the sequence of entrance animation effects applied to each element.
@@ -213,7 +219,7 @@ The following code example shows how to convert PowerPoint slides to images base
{% highlight c# tabtitle="C# [Cross-platform]" %}
//Open a PowerPoint Presentation.
-IPresentation pptxDoc = Presentation.Open("Data/Input.pptx");
+IPresentation pptxDoc = Presentation.Open("Input.pptx");
//Initialize the PresentationAnimationConverter to perform slide to image conversion based on animation order.
using (PresentationAnimationConverter animationConverter = new PresentationAnimationConverter())
@@ -245,7 +251,7 @@ using (PresentationAnimationConverter animationConverter = new PresentationAnima
{% highlight c# tabtitle="C# [Windows-specific]" %}
//Open a PowerPoint Presentation.
-IPresentation pptxDoc = Presentation.Open("Data/Input.pptx");
+IPresentation pptxDoc = Presentation.Open("Input.pptx");
//Initialize the PresentationAnimationConverter to perform slide to image conversion based on animation order.
using (PresentationAnimationConverter animationConverter = new PresentationAnimationConverter())
@@ -277,7 +283,7 @@ using (PresentationAnimationConverter animationConverter = new PresentationAnima
{% highlight vb.net tabtitle="VB.NET [Windows-specific]" %}
' Open a PowerPoint Presentation.
-Dim pptxDoc As IPresentation = Presentation.Open("Data/Input.pptx")
+Dim pptxDoc As IPresentation = Presentation.Open("Input.pptx")
' Initialize the PresentationAnimationConverter to perform slide to image conversion based on animation order.
Using animationConverter As New PresentationAnimationConverter()
@@ -306,6 +312,8 @@ End Using

+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-Image-conversion/Convert-PowerPoint-Animations-to-Images).
+
## UWP
PowerPoint slides can be converted to images in UWP by using Essential Presentation library. The following assemblies are required in the UWP application to convert the slides as images.
@@ -367,6 +375,8 @@ pptxDoc.Close();
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-Image-conversion/Convert-PowerPoint-slide-to-Image/UWP).
+
### Convert PowerPoint Presentation to images
The following code snippet demonstrates how to convert a PowerPoint slide to image using custom image resolution.
@@ -403,6 +413,8 @@ pptxDoc.Close();
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-Image-conversion/Change-resolution-of-converted-image/UWP).
+
### Convert a slide to image by CancellationToken
The following code snippet demonstrates how to convert a PowerPoint slide to image by passing ‘CancellationToken’.
@@ -437,6 +449,8 @@ pptxDoc.Close();
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-Image-conversion/Convert-with-UWP-cancellation-token).
+
N> 1. Instance of [ChartToImageConverter](https://help.syncfusion.com/cr/file-formats/Syncfusion.OfficeChartToImageConverter.ChartToImageConverter.html) class is mandatory to convert the charts present in the Presentation to image. Otherwise, the charts in the presentation are not exported to the converted image
N> 2. The assembly "Syncfusion.SfChart.WPF" is non compliance with FIPS(Federal Information Processing Standard) algorithm policy.
N> 3. EMF images in the PowerPoint slides will not be converted in UWP due to platform limitation.
@@ -513,6 +527,8 @@ End Sub
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-Image-conversion/Add-font-substitution).
+
## Fallback fonts
When a glyph of input text is unavailable in mentioned font, text will not be preserved in PPTX to Image conversion. To avoid this, Syncfusion PowerPoint library allows you to use a fallback font to preserve the text properly in PPTX to Image conversion.
@@ -553,6 +569,8 @@ using (FileStream fileStreamInput = new FileStream("Template.pptx", FileMode.Ope
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-Image-conversion/Apply-fallback-fonts).
+
### Customize Default Fallback Fonts
The following code example demonstrates how to customize default fallback font while converting a PowerPoint presentation to Image.
@@ -592,6 +610,8 @@ using (FileStream fileStreamInput = new FileStream(@"Template.pptx", FileMode.Op
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-Image-conversion/Customize-default-fallback-fonts).
+
### Add Custom Fallback Fonts
The following code example demonstrates how to add custom fallback fonts while converting a PowerPoint presentation to Image.
@@ -638,6 +658,8 @@ using (FileStream fileStreamInput = new FileStream(@"Template.pptx", FileMode.Op
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/PPTX-to-Image-conversion/Apply-custom-fallback-fonts).
+
N> 1. Fallback fonts only supported for Arabic, Hebrew, Hindi, Chinese, Japanese and Korean languages.
N> 2. Its only supported in [Portable PPTX to Image](https://help.syncfusion.com/file-formats/presentation/presentation-to-image) conversion.
diff --git a/File-Formats/Presentation/Security.md b/File-Formats/Presentation/Security.md
index 996ddd2cf..1273bd7fc 100644
--- a/File-Formats/Presentation/Security.md
+++ b/File-Formats/Presentation/Security.md
@@ -69,6 +69,8 @@ End Using
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Security/Encrypt-PowerPoint-with-password).
+
## Decrypting the PowerPoint Presentation
Essential Presentation provides ability to remove the encryption from the PowerPoint Presentation. You can decrypt a PowerPoint Presentation by opening it with the password.
@@ -160,6 +162,8 @@ End Using
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Security/Remove-encryption).
+
## Write Protection
You can set write protection for a PowerPoint Presentation and remove protection from the write protected PowerPoint presentation.
@@ -232,6 +236,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Security/Set-write-protection).
+
### Remove Protection
You can check whether a PowerPoint Presentation is write protected and remove protection from the write protected PowerPoint Presentation.
@@ -295,6 +301,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Security/Remove-write-protection).
+
N> 1. In Xamarin applications, Encryption, Decryption and Write Protection features are supported from the target framework .NET Standard 2.0 version onwards.
N> 2. For ASP.NET Core, Encryption, Decryption and Write Protection features are supported from the .NET Core 2.0 version onwards.
diff --git a/File-Formats/Presentation/SmartArt.md b/File-Formats/Presentation/SmartArt.md
index 070e57e2d..d0debdce4 100644
--- a/File-Formats/Presentation/SmartArt.md
+++ b/File-Formats/Presentation/SmartArt.md
@@ -57,6 +57,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/SmartArts/Add-PowerPoint-SmartArt).
+
## Adding a node to the SmartArt
You can add a new node to the [SmartArt](https://help.syncfusion.com/cr/file-formats/Syncfusion.Presentation.ISmartArt.html) diagram. The following code example demonstrates the same.
@@ -118,6 +120,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/SmartArts/Add-SmartArt-node).
+
In [SmartArt](https://help.syncfusion.com/cr/file-formats/Syncfusion.Presentation.ISmartArt.html) diagrams, you can also add nodes to several nested levels. The maximum limit of nested levels may vary based on SmartArt types. The following code example demonstrates adding nested level nodes in a [SmartArt](https://help.syncfusion.com/cr/file-formats/Syncfusion.Presentation.ISmartArt.html).
{% tabs %}
@@ -182,6 +186,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/SmartArts/Adding-nested-level-nodes).
+
## Modifying SmartArt appearance
You can modify the [SmartArt](https://help.syncfusion.com/cr/file-formats/Syncfusion.Presentation.ISmartArt.html) appearance by modifying the fill type, color, transparency etc. The below code example demonstrates modifying the appearance of [SmartArt](https://help.syncfusion.com/cr/file-formats/Syncfusion.Presentation.ISmartArt.html) nodes.
@@ -261,6 +267,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/SmartArts/Modify-SmartArt-appearance).
+
## Iterating through child nodes of an existing SmartArt
You can iterate through the child nodes and access the properties of each node in a [SmartArt](https://help.syncfusion.com/cr/file-formats/Syncfusion.Presentation.ISmartArt.html). The following code example demonstrates accessing and modifying the text content of node.
@@ -338,6 +346,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/SmartArts/Iterate-child-nodes-of-existing-SmartArt).
+
## Removing node from an existing SmartArt
You can remove a node from the [SmartArt](https://help.syncfusion.com/cr/file-formats/Syncfusion.Presentation.ISmartArt.html) diagram. The following code example demonstrates the same.
@@ -393,6 +403,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/SmartArts/Remove-child-node-from-existing-SmartArt).
+
## Assistant nodes in SmartArt
You can check whether a node is an assistant or not. Also you can change a node as assistant node or revert an assistant node to normal node. The following code example demonstrates making an assistant node as normal node.
diff --git a/File-Formats/Presentation/Working-with-Animation.md b/File-Formats/Presentation/Working-with-Animation.md
index 054c1b45d..dc61bb29e 100644
--- a/File-Formats/Presentation/Working-with-Animation.md
+++ b/File-Formats/Presentation/Working-with-Animation.md
@@ -76,6 +76,8 @@ End Using
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Animations/Add-animation-effect-to-PowerPoint-shapes).
+
## Adding interactive animation
Animations can be interactive when it depends on another slide element., for example, an animation associated with a rectangle is triggered when user clicks an oval shape in the slide. The following code example demonstrates how to set an interactive animation.
@@ -140,6 +142,8 @@ End Using
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Animations/Add-interactive-animation).
+
## Adding animation to text
Animation effects can be applied to text. The following code example demonstrated how to set an animation effect to a text.
@@ -198,6 +202,8 @@ End Using
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Animations/Add-animation-to-PowerPoint-text).
+
## Adding exit animation effect
When you add common animation effects for both entrance and exit types, animation is applied with entrance effect by default. The following code example demonstrates how to set exist type animation for a shape.
@@ -261,6 +267,7 @@ End Using
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Animations/Add-exit-animation-effect).
## Edit existing animation effect
@@ -332,6 +339,8 @@ End Using
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Animations/Modify-existing-animation-effect).
+
## Modifying animation effect sub type
Presentation library allows you to edit the sub type of animations effects in existing presentations. The following example demonstrates how to modify a sub type applied to the existing animation.
@@ -396,6 +405,8 @@ End Using
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Animations/Modify-animation-effect-sub-type).
+
## Modifying timing of animation effect
Presentation library allows you to edit the animation timing in the existing presentations. The following example demonstrates how to modify an existing animation timing applied to a shape.
@@ -460,6 +471,8 @@ End Using
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Animations/Modify-animation-effect-timing).
+
## Reordering the animation effects
Presentation library allows you to reorder the animation effects in existing presentations. The following example demonstrates how to modify an existing animation order applied to a shape.
@@ -538,6 +551,8 @@ End Using
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Animations/Reordering-animation-effects).
+
## Creating custom path animation effect
Presentation library allows you to create and modify the custom animations in presentations. The following example demonstrates how to apply a custom animation to a shape.
@@ -628,6 +643,8 @@ End Using
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Animations/Create-custom-path-animation-effect).
+
## Removing animation effect
Presentation library allows you to remove the animation effects from a shape. The following example demonstrates how to remove an animation effect from a shape.
@@ -703,6 +720,8 @@ End Using
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Animations/Remove-animation-effect).
+
## Supported animation effects type
Syncfusion Presentation library supports the following predefined animation effects with the sub types like Microsoft PowerPoint.
diff --git a/File-Formats/Presentation/Working-with-Hyperlinks.md b/File-Formats/Presentation/Working-with-Hyperlinks.md
index 063061eb8..678525f34 100644
--- a/File-Formats/Presentation/Working-with-Hyperlinks.md
+++ b/File-Formats/Presentation/Working-with-Hyperlinks.md
@@ -80,6 +80,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Hyperlinks/Add-hyperlink-to-PowerPoint-shape).
+
## Add hyperlink to text
You can navigate to the specified URL from a PowerPoint slide. The following code example demonstrates how to add the web URL as a hyperlink.
@@ -147,6 +149,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Hyperlinks/Add-hyperlink-to-PowerPoint-text).
+
## Add hyperlink to picture
You can add the email link to the shape or text on a PowerPoint slide. The following code example demonstrates how to add an email hyperlink to the picture.
@@ -207,6 +211,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Hyperlinks/Add-hyperlink-to-PowerPoint-picture).
+
You can open external documents like images, text files, PDF, etc. from the PowerPoint slide. The following code example demonstrates how to add a file hyperlink to the picture.
{% tabs %}
@@ -266,6 +272,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Hyperlinks/Add-file-hyperlink-to-picture).
+
N> The above link makes use of the absolute path of the file for navigation. So, moving the files to another machine or location may lead to file not found error in PowerPoint reader applications.
## Gets a hyperlink details from text and shape
@@ -347,6 +355,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Hyperlinks/Get-hyperlink-from-shape).
+
The following code example demonstrates how to get the details about the hyperlink from text.
{% tabs %}
@@ -434,6 +444,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Hyperlinks/Get-hyperlink-from-text).
+
## Remove a hyperlink from text and shape
You can remove the hyperlink from the shape or text in a PowerPoint slide.
@@ -489,6 +501,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Hyperlinks/Remove-hyperlink-from-shape).
+
The following code example demonstrates how to remove a hyperlink from the text in a PowerPoint slide.
{% tabs %}
@@ -550,4 +564,6 @@ pptxDoc.Save("Result.pptx")
pptxDoc.Close()
{% endhighlight %}
-{% endtabs %}
\ No newline at end of file
+{% endtabs %}
+
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Hyperlinks/Remove-hyperlink-from-text).
\ No newline at end of file
diff --git a/File-Formats/Presentation/Working-with-Macros.md b/File-Formats/Presentation/Working-with-Macros.md
index 0f563626b..1b284d412 100644
--- a/File-Formats/Presentation/Working-with-Macros.md
+++ b/File-Formats/Presentation/Working-with-Macros.md
@@ -60,6 +60,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Macros/Load-and-save-macro-PowerPoint).
+
## Removing Macros from Macro enabled Presentation
The following code example illustrates how to remove the macros present in the presentation,
@@ -107,3 +109,4 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Macros/Remove-macros).
\ No newline at end of file
diff --git a/File-Formats/Presentation/Working-with-NotesSlide.md b/File-Formats/Presentation/Working-with-NotesSlide.md
index bf26a256f..68436e6d2 100644
--- a/File-Formats/Presentation/Working-with-NotesSlide.md
+++ b/File-Formats/Presentation/Working-with-NotesSlide.md
@@ -59,6 +59,8 @@ pptxDoc.Save("PresentationWithNotesSlide.pptx")
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Notes/Add-notes-to-PowerPoint-slide).
+
## Adding Text into the Notes
The following code example demonstrates how to add a text in a Notes.
@@ -134,6 +136,8 @@ pptxDoc.Save("PresentationWithNotesSlide.pptx")
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Notes/Add-text-in-notes).
+
## Adding a numbered list to Notes
The following code example demonstrates how to create simple numbered list as Notes.
@@ -296,6 +300,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Notes/Create-numbered-list-in-notes-slide).
+
## Removing Notes from a Slide
The below code example demonstrates how to remove a Notes from a PowerPoint Slide.
@@ -337,4 +343,6 @@ slide.RemoveNotesSlide()
pptxDoc.Save("PresentationWithNotesSlide.pptx")
{% endhighlight %}
-{% endtabs %}
\ No newline at end of file
+{% endtabs %}
+
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Notes/Remove-notes-from-slide).
\ No newline at end of file
diff --git a/File-Formats/Presentation/Working-with-OLE-Objects.md b/File-Formats/Presentation/Working-with-OLE-Objects.md
index 481afc433..d8e8ec397 100644
--- a/File-Formats/Presentation/Working-with-OLE-Objects.md
+++ b/File-Formats/Presentation/Working-with-OLE-Objects.md
@@ -85,6 +85,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/OLE-objects/Add-Excel-in-PowerPoint-slide).
+
### Inserting OLE Object to a Slide with Display As Icon property
The following code example demonstrates how to add an Microsoft Word document into a slide with display as icon property.
@@ -166,6 +168,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/OLE-objects/Add-Microsoft-Word-document-in-slide).
+
## Extract embedded OLE Object data
The following code example demonstrates how to extract the embedded OLE Object data.
@@ -240,6 +244,8 @@ pptxDoc.Close
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/OLE-objects/Extract-embedded-OLE-Object-data).
+
## Get file path of a linked OLE Object
The following code example demonstrates how to get the file path of a linked OLE Object.
@@ -296,6 +302,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/OLE-objects/Get-file-path-of-linked-OLE-Object).
+
## Get OLE Image data
The following code example demonstrates how to get the OLE image data.
@@ -363,4 +371,6 @@ fileStream.Dispose()
pptxDoc.Close()
{% endhighlight %}
-{% endtabs %}
\ No newline at end of file
+{% endtabs %}
+
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/OLE-objects/Get-OLE-image-data).
\ No newline at end of file
diff --git a/File-Formats/Presentation/Working-with-headers-and-footers.md b/File-Formats/Presentation/Working-with-headers-and-footers.md
index 8d4593c54..b51e71171 100644
--- a/File-Formats/Presentation/Working-with-headers-and-footers.md
+++ b/File-Formats/Presentation/Working-with-headers-and-footers.md
@@ -95,6 +95,8 @@ By executing the program, you will get the PowerPoint slide as follows.

+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Headers-and-Footers/Add-footer-in-PowerPoint).
+
### Add Date and Time in PowerPoint Slide
Essential Presentation library facilitates adding Date and Time to a slide of the PowerPoint Presentation. Date and Time comes with formatting options for date stamp as either it can be updated automatically using computer's clock or stay fixed until you change it.
@@ -181,6 +183,8 @@ By executing the program, you will get the PowerPoint slide as follows.

+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Headers-and-Footers/Add-date-and-time-in-PowerPoint-slide).
+
### Add Slide Number to PowerPoint Slides
Essential Presentation library facilitates adding Slide number to a slide of the PowerPoint Presentation.
@@ -261,6 +265,7 @@ By executing the program, you will get the PowerPoint slide as follows.

+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Headers-and-Footers/Add-slide-number-in-PowerPoint-slide).
### Add Footer to Master and Layout slides
@@ -376,6 +381,8 @@ By executing the program, you will get the PowerPoint Layout slide as follows.

+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Headers-and-Footers/Add-footer-in-master-and-layout-slides).
+
### Add Headers and Footers into Notes slide
Essential Presentation library facilitates adding Headers and Footers to the Notes slide of the PowerPoint Presentation.
@@ -471,6 +478,8 @@ By executing the program, you will get the PowerPoint Notes slide as follows.

+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Headers-and-Footers/Add-headers-and-footers-in-Notes).
+
## Modify Headers and Footers in PowerPoint
### Edit Footer text of an existing Slide
@@ -530,6 +539,7 @@ By executing the program, you will get the PowerPoint slide as follows.

+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Headers-and-Footers/Edit-footer-text).
### Edit Header text of an existing Notes slide
@@ -588,6 +598,7 @@ By executing the program, you will get the PowerPoint Notes slide as follows.

+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Headers-and-Footers/Edit-header-text).
### Modify Date and Time format of an existing Slide
@@ -646,6 +657,8 @@ By executing the program, you will get the PowerPoint slide as follows.

+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Headers-and-Footers/Modify-date-and-time-format).
+
### Modify font of the Footer text
Essential Presentation library facilitates editing font of the [Footer](https://help.syncfusion.com/cr/file-formats/Syncfusion.Presentation.IHeadersFooters.html#Syncfusion_Presentation_IHeadersFooters_Footer) content in slide of the PowerPoint Presentation.
@@ -731,6 +744,8 @@ By executing the program, you will get the PowerPoint slide as follows.

+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Headers-and-Footers/Modify-footer-text-font).
+
## Remove Headers and Footers from Title Slides
Essential Presentation library facilitates removing Footers from all the [Title](https://help.syncfusion.com/cr/file-formats/Syncfusion.Presentation.SlideLayoutType.html) slides in the PowerPoint Presentation.
@@ -817,3 +832,4 @@ By executing the program, you will get the PowerPoint slide as follows.

+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Headers-and-Footers/Remove-footers-from-all-title-slides).
\ No newline at end of file
diff --git a/File-Formats/Presentation/Working-with-sections.md b/File-Formats/Presentation/Working-with-sections.md
index 8d87e9d80..b087d0755 100644
--- a/File-Formats/Presentation/Working-with-sections.md
+++ b/File-Formats/Presentation/Working-with-sections.md
@@ -66,6 +66,8 @@ pptxDoc.Save("Section.PPTX")
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Sections/Add-new-slide-in-PowerPoint-section).
+
### Adding an existing slide to a section
The following code example demonstrates how to add an existing slide to a section.
@@ -109,6 +111,8 @@ pptxDoc.Save("Sections.PPTX")
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Sections/Add-existing-slide-in-PowerPoint-section).
+
### Inserting a section
The following code example demonstrates how to insert a section in a template PowerPoint presentation that contains sections
@@ -163,6 +167,8 @@ pptxDoc.Save("Sections.PPTX")
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Sections/Insert-section-in-PowerPoint).
+
## Moving the sections within a PowerPoint presentation
You can move the sections within a PowerPoint presentation. The following code example demonstrates how to move a section to a specific position in the navigation pane.
@@ -200,6 +206,8 @@ pptxDoc.Save("Sections.PPTX")
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Sections/Move-section-positions).
+
## Moving a slide within sections
The following code example demonstrates how to move a slide from one section to another.
@@ -243,6 +251,8 @@ pptxDoc.Save("Sections.PPTX")
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Sections/Move-slide-within-section).
+
## Cloning and merging the slides in a section
The following code example demonstrates how to clone the slide collection of a section and add those slides to a destination presentation.
@@ -296,6 +306,8 @@ pptxDoc.Save("Sections.PPTX")
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Sections/Clone-and-merge-section-slides).
+
## Removing a section
The following code example demonstrates how to create remove a particular section from the sections collection of a presentation.
@@ -333,6 +345,8 @@ pptxDoc.Save("Sections.PPTX")
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Sections/Remove-section).
+
## Remove all sections
The following code example demonstrates how to remove section collection from an existing PowerPoint presentation.
@@ -368,4 +382,6 @@ pptxDoc.Sections.Clear()
pptxDoc.Save("Sections.PPTX")
{% endhighlight %}
-{% endtabs %}
\ No newline at end of file
+{% endtabs %}
+
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Sections/Remove-all-sections).
\ No newline at end of file
diff --git a/File-Formats/Presentation/create-edit-connectors-in-powerpoint-slides-cs-vb-net.md b/File-Formats/Presentation/create-edit-connectors-in-powerpoint-slides-cs-vb-net.md
index fba17e41f..88dd62874 100644
--- a/File-Formats/Presentation/create-edit-connectors-in-powerpoint-slides-cs-vb-net.md
+++ b/File-Formats/Presentation/create-edit-connectors-in-powerpoint-slides-cs-vb-net.md
@@ -67,6 +67,8 @@ End Using
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Connectors/Add-PowerPoint-connectors).
+
## Adding a single point connector
You can also add a connector to a source shape without any destination shapes. The following code example demonstrates how to add a connector with single point connection.
@@ -147,6 +149,8 @@ End Using
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Connectors/Add-single-point-connector).
+
## Editing a connector in PowerPoint slide
The following code example demonstrates how to edit an existing connector in a PowerPoint slide.
@@ -240,6 +244,8 @@ End Using
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Connectors/Modify-existing-connector).
+
## Updating the positions of the connector in PowerPoint slide
The following code example demonstrates how to update a connector’s position when a source shape position is changed.
@@ -310,6 +316,8 @@ End Using
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Connectors/Update-connector-position).
+
## Removing a connector from PowerPoint shapes
The following code example demonstrates how to remove a connector from PowerPoint slide.
@@ -363,4 +371,6 @@ Using pptxDoc As IPresentation = Presentation.Open("Sample.pptx")
End Using
{% endhighlight %}
-{% endtabs %}
\ No newline at end of file
+{% endtabs %}
+
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Connectors/Remove-connector-from-shapes).
\ No newline at end of file
diff --git a/File-Formats/Presentation/create-edit-slide-transitions-in-powerpoint-presentation-slides-cs-vb-net.md b/File-Formats/Presentation/create-edit-slide-transitions-in-powerpoint-presentation-slides-cs-vb-net.md
index 62ab9bf62..f14d5db9b 100644
--- a/File-Formats/Presentation/create-edit-slide-transitions-in-powerpoint-presentation-slides-cs-vb-net.md
+++ b/File-Formats/Presentation/create-edit-slide-transitions-in-powerpoint-presentation-slides-cs-vb-net.md
@@ -81,6 +81,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Slide-transitions/Apply-PowerPoint-slide-transition).
+
## Modify a transition effect applied to a PowerPoint slide
You can edit the transition effects that already applied to the PowerPoint slides. Refer to the following code example.
@@ -136,6 +138,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Slide-transitions/Modify-transition-effect).
+
## Set the transition duration
You can set the transition duration value up to 59 seconds. This specifies the length of the slide transition to happen. Refer to the following code example.
@@ -196,6 +200,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Slide-transitions/Set-transition-duration).
+
## Set the transition delay
You can set the transition delay in seconds. This delays the next transactions to happen for a certain number of seconds. The following example demonstrates how to apply the time delay.
@@ -262,6 +268,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Slide-transitions/Set-transition-delay).
+
## Set the trigger mode for the transition
The next slide transition can be triggered by the following two ways:
@@ -327,6 +335,8 @@ pptxDoc.Close()
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Slide-transitions/Set-trigger-mode-for-transition).
+
## Set the speed for transition effect
The speed is the customized property provided by Syncfusion PowerPoint library to set the transition duration mentioned [above](/file-formats/presentation/create-edit-slide-transitions-in-powerpoint-presentation-slides-cs-vb-net#set-the-transition-duration) (in this page) to a customized enumeration values. By default, each transition will happen for 2 seconds. You can change the following enumeration values to change the duration of a slide transition:
@@ -386,6 +396,8 @@ pptxDoc.Save("Sample.pptx")
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Slide-transitions/Set-transition-speed).
+
## Supported transition effect types:
The following are the list of transition effect options that can be applied to each transition effects.
diff --git a/File-Formats/Presentation/create-read-edit-powerpoint-files-in-asp-net-web-forms.md b/File-Formats/Presentation/create-read-edit-powerpoint-files-in-asp-net-web-forms.md
index c15a385c5..9f5d90456 100644
--- a/File-Formats/Presentation/create-read-edit-powerpoint-files-in-asp-net-web-forms.md
+++ b/File-Formats/Presentation/create-read-edit-powerpoint-files-in-asp-net-web-forms.md
@@ -159,7 +159,7 @@ pptxDoc.Close();
{% endtabs %}
-A sample of how to create a PowerPoint presentation file in ASP.NET platform can be downloaded from [Create-PowerPoint-file.zip](http://www.syncfusion.com/downloads/support/directtrac/general/ze/Create-PowerPoint-file-2137736944.zip)
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Getting-started/ASP.NET/Create-PowerPoint-presentation).
The output of the above code example will generate the below PowerPoint slide.
@@ -189,6 +189,8 @@ pptxDoc.Close();
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Getting-started/ASP.NET/Read-and-edit-PowerPoint-presentation).
+
Click [here](https://www.syncfusion.com/document-processing/powerpoint-framework/net) to explore the rich set of Syncfusion PowerPoint Library (Presentation) features.
An online sample link to [create a PowerPoint Presentation](https://ej2.syncfusion.com/aspnetcore/PowerPoint/Default#/material3) in ASP.NET Core.
\ No newline at end of file
diff --git a/File-Formats/Presentation/create-read-edit-powerpoint-files-in-blazor.md b/File-Formats/Presentation/create-read-edit-powerpoint-files-in-blazor.md
index 1383d4e6d..7d02b54c5 100644
--- a/File-Formats/Presentation/create-read-edit-powerpoint-files-in-blazor.md
+++ b/File-Formats/Presentation/create-read-edit-powerpoint-files-in-blazor.md
@@ -207,6 +207,8 @@ Step 11: Add the following JavaScript function in the _Host.cshtml in the Pages
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Getting-started/Blazor/Server-side-application).
+
By executing the program, you will get the **PowerPoint document** as follows.

@@ -364,6 +366,8 @@ Step 9: Add the following JavaScript function in the _Host.cshtml in the Pages f
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Getting-started/Blazor/Client-side-application).
+
By executing the program, you will get the **PowerPoint document** as follows.

diff --git a/File-Formats/Presentation/create-read-edit-powerpoint-files-in-maui.md b/File-Formats/Presentation/create-read-edit-powerpoint-files-in-maui.md
index 6dcbec288..9a01999fc 100644
--- a/File-Formats/Presentation/create-read-edit-powerpoint-files-in-maui.md
+++ b/File-Formats/Presentation/create-read-edit-powerpoint-files-in-maui.md
@@ -128,7 +128,7 @@ saveService.SaveAndView("Sample.pptx", "application/vnd.openxmlformats-officedoc
{% endtabs %}
-A complete working example of creating a Presentation file in the .NET MAUI app can be downloaded from this [link](https://www.syncfusion.com/downloads/support/directtrac/general/ze/CreatePowerPoint-472985326.zip).
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Getting-started/.NET-MAUI/Create-PowerPoint-presentation).
By executing the program, you will get the **PowerPoint slide** as follows.
@@ -163,6 +163,8 @@ saveService.SaveAndView("Output.pptx", "application/vnd.openxmlformats-officedoc
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Getting-started/.NET-MAUI/Read-and-edit-presentationn).
+
## Helper files for .NET MAUI
Download the helper files from this [link](https://www.syncfusion.com/downloads/support/directtrac/general/ze/HelperFiles_Presentation-1440845842.zip) and add them into the mentioned project. These helper files allow you to save the stream as a physical file and open the file for viewing.
diff --git a/File-Formats/Presentation/create-read-edit-powerpoint-files-in-uwp.md b/File-Formats/Presentation/create-read-edit-powerpoint-files-in-uwp.md
index 1dc4a011d..2dbf1fa29 100644
--- a/File-Formats/Presentation/create-read-edit-powerpoint-files-in-uwp.md
+++ b/File-Formats/Presentation/create-read-edit-powerpoint-files-in-uwp.md
@@ -192,6 +192,8 @@ pptxDoc.Close();
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Getting-started/UWP/Create-PowerPoint-presentation).
+
The output of the above code example will generate the below PowerPoint slide.

@@ -229,6 +231,8 @@ pptxDoc.Close();
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Getting-started/UWP/Read-and-edit-PowerPoint-presentation).
+
Click [here](https://www.syncfusion.com/document-processing/powerpoint-framework/uwp) to explore the rich set of Syncfusion PowerPoint Library (Presentation) features.
An online sample link to [create a PowerPoint Presentation](https://ej2.syncfusion.com/aspnetcore/PowerPoint/Default#/material3) in ASP.NET Core.
\ No newline at end of file
diff --git a/File-Formats/Presentation/create-read-edit-powerpoint-files-in-windows-forms.md b/File-Formats/Presentation/create-read-edit-powerpoint-files-in-windows-forms.md
index 89eb3bc67..10eec9279 100644
--- a/File-Formats/Presentation/create-read-edit-powerpoint-files-in-windows-forms.md
+++ b/File-Formats/Presentation/create-read-edit-powerpoint-files-in-windows-forms.md
@@ -157,6 +157,8 @@ pptxDoc.Close();
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Getting-started/Windows%20Forms/Create-PowerPoint-presentation).
+
The output of the above code example will generate the below PowerPoint slide.

@@ -185,6 +187,8 @@ pptxDoc.Close();
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Getting-started/Windows%20Forms/Read-and-edit-PowerPoint-presentation).
+
Click [here](https://www.syncfusion.com/document-processing/powerpoint-framework/net) to explore the rich set of Syncfusion PowerPoint Library (Presentation) features.
An online sample link to [create a PowerPoint Presentation](https://ej2.syncfusion.com/aspnetcore/PowerPoint/Default#/material3) in ASP.NET Core.
diff --git a/File-Formats/Presentation/create-read-edit-powerpoint-files-in-winui.md b/File-Formats/Presentation/create-read-edit-powerpoint-files-in-winui.md
index a967aa631..e64783ca6 100644
--- a/File-Formats/Presentation/create-read-edit-powerpoint-files-in-winui.md
+++ b/File-Formats/Presentation/create-read-edit-powerpoint-files-in-winui.md
@@ -117,7 +117,7 @@ pptxDoc.Save(outputStream);
{% endtabs %}
-A complete working example of creating a Presentation file in the WinUI Desktop app can be downloaded from this [link](https://www.syncfusion.com/downloads/support/directtrac/general/ze/CreatePowerPoint724079917.zip).
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Getting-started/WinUI/WinUI-Desktop-app/Create-PowerPoint-presentation).
By executing the program, you will get the **PowerPoint slide** as follows.
@@ -146,6 +146,8 @@ pptxDoc.Save(outputStream);
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Getting-started/WinUI/WinUI-Desktop-app/Read-and-edit-PowerPoint-presentation).
+
Click [here](https://www.syncfusion.com/document-processing/powerpoint-framework/winui) to explore the rich set of Syncfusion PowerPoint Library (Presentation) features.
An online sample link to [create a PowerPoint Presentation](https://ej2.syncfusion.com/aspnetcore/PowerPoint/Default#/material3) in ASP.NET Core.
@@ -268,7 +270,7 @@ using (IPresentation pptxDoc = Presentation.Create())
{% endtabs %}
-A complete working example of creating a Presentation file in the WinUI UWP app can be downloaded from this [link](https://www.syncfusion.com/downloads/support/directtrac/general/ze/CreatePowerPoint_UWP-1654817345.zip).
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Getting-started/WinUI/WinUI-UWP-app/Create-PowerPoint-presentation).
By executing the program, you will get the **PowerPoint slide** as follows.
@@ -346,6 +348,8 @@ async void Save(MemoryStream stream)
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Getting-started/WinUI/WinUI-UWP-app/Read-and-edit-PowerPoint-presentation).
+
Click [here](https://www.syncfusion.com/document-processing/powerpoint-framework/winui) to explore the rich set of Syncfusion PowerPoint Library (Presentation) features.
An online sample link to [create a PowerPoint Presentation](https://ej2.syncfusion.com/aspnetcore/PowerPoint/Default#/material3) in ASP.NET Core.
\ No newline at end of file
diff --git a/File-Formats/Presentation/create-read-edit-powerpoint-files-in-wpf.md b/File-Formats/Presentation/create-read-edit-powerpoint-files-in-wpf.md
index 357eb5a31..74806a8af 100644
--- a/File-Formats/Presentation/create-read-edit-powerpoint-files-in-wpf.md
+++ b/File-Formats/Presentation/create-read-edit-powerpoint-files-in-wpf.md
@@ -191,6 +191,8 @@ pptxDoc.Close();
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Getting-started/WPF/Create-PowerPoint-presentation).
+
The output of the above code example will generate the below PowerPoint slide.

@@ -219,6 +221,8 @@ pptxDoc.Close();
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Getting-started/WPF/Read-and-edit-PowerPoint-presentation).
+
Click [here](https://www.syncfusion.com/document-processing/powerpoint-framework/net) to explore the rich set of Syncfusion PowerPoint Library (Presentation) features.
An online sample link to [create a PowerPoint Presentation](https://ej2.syncfusion.com/aspnetcore/PowerPoint/Default#/material3) in ASP.NET Core.
\ No newline at end of file
diff --git a/File-Formats/Presentation/create-read-edit-powerpoint-files-in-xamarin.md b/File-Formats/Presentation/create-read-edit-powerpoint-files-in-xamarin.md
index aff03d336..713c988e2 100644
--- a/File-Formats/Presentation/create-read-edit-powerpoint-files-in-xamarin.md
+++ b/File-Formats/Presentation/create-read-edit-powerpoint-files-in-xamarin.md
@@ -268,6 +268,8 @@ Step 8: Download the helper files from this [link](http://www.syncfusion.com/dow
Step 9: Compile and execute the application.
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Getting-started/Xamarin/Create-PowerPoint-presentation).
+
The output of the above code example will generate the below PowerPoint slide.

@@ -303,6 +305,8 @@ Xamarin.Forms.DependencyService.Get().SaveAndView("Output.pptx", "applica
{% endtabs %}
+You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PowerPoint-Examples/tree/master/Getting-started/Xamarin/Read-and-edit-PowerPoint-presentation).
+
Click [here](https://www.syncfusion.com/document-processing/powerpoint-framework/xamarin) to explore the rich set of Syncfusion PowerPoint Library (Presentation) features.
An online sample link to [create a PowerPoint Presentation](https://ej2.syncfusion.com/aspnetcore/PowerPoint/Default#/material3) in ASP.NET Core.
\ No newline at end of file
From e940e7844be162508997f8e7425661f662973d5c Mon Sep 17 00:00:00 2001
From: DharanitharanA <97955635+DharanitharanA@users.noreply.github.com>
Date: Tue, 19 Sep 2023 11:53:17 +0530
Subject: [PATCH 2/2] ES-846833-Reverted the Word to PDF works
---
File-Formats-toc.html | 79 -------------------
File-Formats/DocIO/Applying-Watermark.md | 26 +-----
.../DocIO/word-to-pdf-linux-docker.md | 1 -
3 files changed, 1 insertion(+), 105 deletions(-)
diff --git a/File-Formats-toc.html b/File-Formats-toc.html
index 6a0ac0802..0e3900dfb 100644
--- a/File-Formats-toc.html
+++ b/File-Formats-toc.html
@@ -283,85 +283,6 @@
Working with Document Conversion
- Word File Formats
- - Word to PDF
-
-
- Word Document to Image
-
diff --git a/File-Formats/DocIO/Applying-Watermark.md b/File-Formats/DocIO/Applying-Watermark.md
index c2e793517..03caadba9 100644
--- a/File-Formats/DocIO/Applying-Watermark.md
+++ b/File-Formats/DocIO/Applying-Watermark.md
@@ -106,31 +106,7 @@ The following code example illustrates how to add a picture watermark to the Wor
{% tabs %}
{% highlight c# tabtitle="C# [Cross-platform]" %}
-
-//Creates a new Word document
-WordDocument document = new WordDocument();
-//Adds a section and a paragraph in the document
-document.EnsureMinimal();
-IWParagraph paragraph = document.LastParagraph;
-paragraph.AppendText("AdventureWorks Cycles, the fictitious company on which the AdventureWorks sample databases are based, is a large, multinational manufacturing company.");
-//Creates a new picture watermark.
-PictureWatermark picWatermark = new PictureWatermark();
-//Sets the scaling to picture.
-picWatermark.Scaling = 120f;
-picWatermark.Washout = true;
-//Sets the picture watermark to document.
-document.Watermark = picWatermark;
-FileStream imageStream = new FileStream("Water lilies.jpg", FileMode.Open, FileAccess.Read);
-BinaryReader br = new BinaryReader(imageStream);
-byte[] image = br.ReadBytes((int)imageStream.Length);
-//Sets the image to the picture watermark.
-picWatermark.LoadPicture(image);
-//Saves the Word document to MemoryStream
-MemoryStream stream = new MemoryStream();
-document.Save(stream, FormatType.Docx);
-//Closes the document
-document.Close();
-
+//DocIO supports picture watermark in Windows Forms, WPF, ASP.NET and ASP.NET MVC platforms alone.
{% endhighlight %}
{% highlight c# tabtitle="C# [Windows-specific]" %}
diff --git a/File-Formats/DocIO/word-to-pdf-linux-docker.md b/File-Formats/DocIO/word-to-pdf-linux-docker.md
index d752228f9..6d70bb4cc 100644
--- a/File-Formats/DocIO/word-to-pdf-linux-docker.md
+++ b/File-Formats/DocIO/word-to-pdf-linux-docker.md
@@ -21,7 +21,6 @@ Step 2: Install the below NuGet packages as a reference to your project from [Nu
* [Syncfusion.DocIORenderer.Net.Core](https://www.nuget.org/packages/Syncfusion.DocIORenderer.Net.Core/)
* [SkiaSharp.NativeAssets.Linux v2.80.2](https://www.nuget.org/packages/SkiaSharp.NativeAssets.Linux/2.80.2)
-* [HarfBuzzSharp.NativeAssets.Linux v2.8.2.2](https://www.nuget.org/packages/HarfBuzzSharp.NativeAssets.Linux/2.8.2.2)

