Package com.aspose.slides

Examples of com.aspose.slides.Presentation.save()


   
      //Add the title slide
      ISlide slide = pres.getSlides().addEmptySlide(pres.getLayoutSlides().get_Item(0));
   
    //Save the presentation
    pres.save("data/SlidesAdded_Aspose.pptx", SaveFormat.Pptx);
   
    System.out.println("Slide Added and Saved.");
  }
}
View Full Code Here


    }
    //Do some work on the newly added slide

    //Save the PPTX file to the Disk
        pres.save("data/LayoutSlidesAdded_Aspose.pptx", SaveFormat.Pptx);

        //Printing the status
        System.out.println("Slides added successfully!");
  }
}
View Full Code Here

   
    //Change the position of the selected slide
    slide.setSlideNumber(2);

    //Writing the presentation as a PPT file
    pres.save("data/Aspose_ReOrdered_Slides.ppt", SaveFormat.Ppt);
    System.out.println("Slides ReOrdered Successfuly.");
  }
}
View Full Code Here

        .getPortions().get_Item(0).getPortionFormat()
        .getHyperlinkManager();
    HypMan.setExternalHyperlinkClick("http://www.aspose.com");

    // Save the PPTX to Disk
    pres.save("data/Aspose_Hyperlink.pptx", SaveFormat.Pptx);
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.