Aspose.Slides.Examples.CSharp.Presentations.Saving.SaveAsPredefinedViewType.Run C# (CSharp) 메소드

Run() 공개 정적인 메소드

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

            // Opening the presentation file
            Presentation presentation = new Presentation();

            // Setting view type 
            presentation.ViewProperties.LastView = ViewType.SlideMasterView;

            // Saving presentation
            presentation.Save(dataDir + "SetViewType_out.pptx", Aspose.Slides.Export.SaveFormat.Pptx);
        }
    }
SaveAsPredefinedViewType