From 292f8dadf6b88e9bcf678f55d239ee4c1b752e20 Mon Sep 17 00:00:00 2001 From: Suriya-Balamurugan Date: Tue, 15 Oct 2024 00:41:41 +0530 Subject: [PATCH] Update the latest SkiaSharp version for Linux conversion samples --- .../Convert-PowerPoint-Presentation-to-Image.csproj | 2 ++ .../Linux/Convert-PowerPoint-Presentation-to-Image/Program.cs | 2 +- .../Convert-PowerPoint-Presentation-to-PDF.csproj | 2 +- .../Linux/Convert-PowerPoint-Presentation-to-PDF/Program.cs | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/Linux/Convert-PowerPoint-Presentation-to-Image/Convert-PowerPoint-Presentation-to-Image.csproj b/PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/Linux/Convert-PowerPoint-Presentation-to-Image/Convert-PowerPoint-Presentation-to-Image.csproj index 2b93b781..347af438 100644 --- a/PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/Linux/Convert-PowerPoint-Presentation-to-Image/Convert-PowerPoint-Presentation-to-Image.csproj +++ b/PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/Linux/Convert-PowerPoint-Presentation-to-Image/Convert-PowerPoint-Presentation-to-Image.csproj @@ -9,6 +9,8 @@ + + diff --git a/PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/Linux/Convert-PowerPoint-Presentation-to-Image/Program.cs b/PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/Linux/Convert-PowerPoint-Presentation-to-Image/Program.cs index 4f56af1f..6b327461 100644 --- a/PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/Linux/Convert-PowerPoint-Presentation-to-Image/Program.cs +++ b/PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/Linux/Convert-PowerPoint-Presentation-to-Image/Program.cs @@ -12,7 +12,7 @@ class Program static void Main(string[] args) { //Open the file as Stream. - using (FileStream fileStreamInput = new FileStream(Path.GetFullPath(@"../../../Data/Input.pptx"), FileMode.Open, FileAccess.Read)) + using (FileStream fileStreamInput = new FileStream(Path.GetFullPath(@"Data/Input.pptx"), FileMode.Open, FileAccess.Read)) { //Open the existing PowerPoint presentation with loaded stream. using (IPresentation pptxDoc = Presentation.Open(fileStreamInput)) diff --git a/PPTX-to-PDF-conversion/Convert-PowerPoint-presentation-to-PDF/Linux/Convert-PowerPoint-Presentation-to-PDF/Convert-PowerPoint-Presentation-to-PDF.csproj b/PPTX-to-PDF-conversion/Convert-PowerPoint-presentation-to-PDF/Linux/Convert-PowerPoint-Presentation-to-PDF/Convert-PowerPoint-Presentation-to-PDF.csproj index cde059ec..696e80bc 100644 --- a/PPTX-to-PDF-conversion/Convert-PowerPoint-presentation-to-PDF/Linux/Convert-PowerPoint-Presentation-to-PDF/Convert-PowerPoint-Presentation-to-PDF.csproj +++ b/PPTX-to-PDF-conversion/Convert-PowerPoint-presentation-to-PDF/Linux/Convert-PowerPoint-Presentation-to-PDF/Convert-PowerPoint-Presentation-to-PDF.csproj @@ -9,7 +9,7 @@ - + diff --git a/PPTX-to-PDF-conversion/Convert-PowerPoint-presentation-to-PDF/Linux/Convert-PowerPoint-Presentation-to-PDF/Program.cs b/PPTX-to-PDF-conversion/Convert-PowerPoint-presentation-to-PDF/Linux/Convert-PowerPoint-Presentation-to-PDF/Program.cs index b2ae6733..2b2d59d7 100644 --- a/PPTX-to-PDF-conversion/Convert-PowerPoint-presentation-to-PDF/Linux/Convert-PowerPoint-Presentation-to-PDF/Program.cs +++ b/PPTX-to-PDF-conversion/Convert-PowerPoint-presentation-to-PDF/Linux/Convert-PowerPoint-Presentation-to-PDF/Program.cs @@ -13,7 +13,7 @@ class Program static void Main(string[] args) { //Open the file as Stream - using (FileStream fileStreamInput = new FileStream(Path.GetFullPath(@"../../../Data/Input.pptx"), FileMode.Open, FileAccess.Read)) + using (FileStream fileStreamInput = new FileStream(Path.GetFullPath(@"Data/Input.pptx"), FileMode.Open, FileAccess.Read)) { //Open the existing PowerPoint presentation with loaded stream. using (IPresentation pptxDoc = Presentation.Open(fileStreamInput))