Skip to content

Commit 8d77aba

Browse files
2 parents e202827 + 2809f5d commit 8d77aba

File tree

2 files changed

+2
-3
lines changed
  • Getting-started/Create-PowerPoint-with-basic-elements/.NET/Create-PowerPoint-with-basic-elements
  • PPTX-to-PDF-conversion/Show-warning-for-unsupported-elements/.NET/Show-warning-for-unsupported-elements

2 files changed

+2
-3
lines changed

Getting-started/Create-PowerPoint-with-basic-elements/.NET/Create-PowerPoint-with-basic-elements/Program.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using System.Drawing;
2-
using Syncfusion.Drawing;
1+
using Syncfusion.Drawing;
32
using Syncfusion.Presentation;
43

54
//Load or open an PowerPoint Presentation.

PPTX-to-PDF-conversion/Show-warning-for-unsupported-elements/.NET/Show-warning-for-unsupported-elements/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public bool ShowWarnings(List<WarningInfo> warningInfo)
5252
if (warning.Description.Contains("Metafile") || warning.Description.Contains("Chart"))
5353
{
5454
Console.WriteLine("Type [Y] if you want Do you want to continue Presentation to Pdf conversion or Type [N] to cancel the conversion");
55-
String confrimation = Console.ReadLine();
55+
String confrimation = "y";
5656
//Based on warning.WarningType enumeration, you can do your manipulation.
5757
//Skips the PowerPoint to Pdf conversion by setting isContinueConversion value as false.
5858
//Continue the PowerPoint to PDF conversion by setting the isContinueConversion as true.

0 commit comments

Comments
 (0)