package com.aspose.slides.examples.Presentation.Creation;

import com.aspose.slides.Presentation;
import com.aspose.slides.SaveFormat;
import com.aspose.slides.examples.Utils;

public class SettingDefaultZoomValueForPresentation {
	
	public static final void main(String[] args) {
		
		// The path to the documents directory.
        String dataDir = Utils.getDataDir(SettingDefaultZoomValueForPresentation.class);
        
		// Create an instance of Presentation class 
        Presentation pres = new Presentation();

        // Setting View Properties of Presentation
        pres.getViewProperties().getSlideViewProperties().setScale(50); //zoom value in percentages for slide view
        pres.getViewProperties().getNotesViewProperties().setScale(50); //zoom value in percentages for notes view 

        // Write the presentation as a PPTX file 
		pres.save(dataDir + "Zoom.pptx", SaveFormat.Pptx);

	}
}

@@ -327,16 +327,17 @@
         
+%09
 String d
@@ -473,16 +473,17 @@
         
+%09
 Presenta
@@ -523,16 +523,17 @@
         
+%09
 // Setti
@@ -567,32 +567,33 @@
 ntation%0A        
+%09
 pres.getViewProp
@@ -691,16 +691,17 @@
         
+%09
 pres.get
@@ -809,16 +809,17 @@
         
+%09
 // Write

Update SettingDefaultZoomValueForPresentation.java