// For complete examples and data files, please go to https://github.com/aspose-tasks/Aspose.Tasks-for-Java // The path to the documents directory. String dataDir = Utils.getDataDir(RenderTaskSheet.class); Project project = new Project(dataDir + "NewProductDev.mpp"); SaveOptions options = new PdfSaveOptions(); options.setPresentationFormat(PresentationFormat.TaskSheet); // See the result attached project.save(dataDir + "taskSheet.pdf", options);