Skip to content

Commit 39f06e6

Browse files
Merge pull request #85 from VijayadharshiniMathiyalagan/master
Resolved the Compilation issue faced with the Show Warning for unsupported elements sample
2 parents fca2b05 + 698864b commit 39f06e6

File tree

1 file changed

+1
-1
lines changed
  • PPTX-to-PDF-conversion/Show-warning-for-unsupported-elements/.NET/Show-warning-for-unsupported-elements

1 file changed

+1
-1
lines changed

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)