Aspose.Slides.Examples.CSharp.Presentations.Conversion.PPTtoPPTX.Run C# (CSharp) Method

Run() public static method

public static Run ( ) : void
return void
        public static void Run()
        {
            // The path to the documents directory.
            string dataDir = RunExamples.GetDataDir_Conversion();

            // Instantiate a Presentation object that represents a PPTX file
            Presentation pres = new Presentation(dataDir + "PPTtoPPTX.ppt");

            // Saving the PPTX presentation to PPTX format
            pres.Save(dataDir + "PPTtoPPTX_out.pptx", SaveFormat.Pptx);
        }
    }
PPTtoPPTX