Aspose.Slides.Examples.CSharp.Rendering.Printing.SetZoom.Run C# (CSharp) 메소드

Run() 공개 정적인 메소드

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

            // Instantiate a Presentation object that represents a presentation file
            using (Presentation presentation = new Presentation())
            {
                // Setting View Properties of Presentation

                presentation.ViewProperties.SlideViewProperties.Scale = 100; // Zoom value in percentages for slide view
                presentation.ViewProperties.NotesViewProperties.Scale = 100; // Zoom value in percentages for notes view 

                presentation.Save(dataDir + "Zoom_out.pptx", SaveFormat.Pptx);
            }
        }
    }
SetZoom