Skip to content

Commit

Permalink
Merge pull request #84 from DharanitharanA/master
Browse files Browse the repository at this point in the history
908311-Resolved Layout slide and Section samples issues
  • Loading branch information
Ramaraj-Marimuthu authored Sep 17, 2024
2 parents 2f46c17 + cce2d6d commit 9117558
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sections/Remove-section/.NET/Remove-section/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
//Remove the second section from the PowerPoint presentation.
pptxDoc.Sections.Remove(pptxDoc.Sections[1]);
//Save the PowerPoint Presentation as stream.
using FileStream outputStream = new(Path.GetFullPath(@"Ouptut/Result.pptx"), FileMode.Create, FileAccess.ReadWrite);
using FileStream outputStream = new(Path.GetFullPath(@"Output/Result.pptx"), FileMode.Create, FileAccess.ReadWrite);
pptxDoc.Save(outputStream);
pptxDoc.Close();
Binary file not shown.

0 comments on commit 9117558

Please sign in to comment.