Aspose.Slides.Examples.CSharp.Rendering.Printing.DefaultPrinterPrinting.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_Rendering();

            // Load the presentation
            Presentation presentation = new Presentation(dataDir + "Print.ppt");

            // Call the print method to print whole presentation to the default printer
            presentation.Print();
        }
    }
DefaultPrinterPrinting