This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Aspose.Cells; | |
| using System; | |
| class CsvToExcelConverter | |
| { | |
| static void Main() | |
| { | |
| // Path to the CSV file | |
| string csvPath = "input.csv"; | |
| // Path to the output Excel file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import com.aspose.slides.*; | |
| import java.io.File; | |
| public class PptxToMarkdown { | |
| public static void main(String[] args) { | |
| // Path to the source PPTX file | |
| String sourcePath = "samples/presentation.pptx"; | |
| // Path for the generated Markdown file | |
| String outputPath = "output/presentation.md"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import com.aspose.slides.*; | |
| public class PptxToEmfConverter { | |
| public static void main(String[] args) { | |
| // Path to the source PPTX file | |
| String sourceFile = "example.pptx"; | |
| // Output folder for EMF files | |
| String outputDir = "output_emf"; | |
| // Load the presentation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import com.aspose.slides.*; | |
| public class PptToPdfConverter { | |
| public static void main(String[] args) { | |
| // Path to the license file (optional for evaluation) | |
| try { | |
| License license = new License(); | |
| license.setLicense("Aspose.Slides.Java.lic"); | |
| } catch (Exception e) { | |
| System.out.println("License not found or invalid: " + e.getMessage()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import com.aspose.slides.*; | |
| import java.io.File; | |
| public class PptxToPdfConverter { | |
| public static void main(String[] args) { | |
| // Load license (replace with your license file path) | |
| try { | |
| License license = new License(); | |
| license.setLicense("Aspose.Slides.Java.lic"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.example; | |
| import com.aspose.slides.*; | |
| public class main { | |
| public static void main(String[] args) { | |
| String dataDir = "files"; | |
| License lic = new License(); | |
| lic.setLicense("license.lic"); | |
| // Path to source and output files. | |
| String presentationName = dataDir + "PresentationDemo.pptx"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.example; | |
| import com.aspose.slides.*; | |
| public class main { | |
| public static void main(String[] args) { | |
| String dataDir = "data"; | |
| License lic = new License(); | |
| lic.setLicense("license.lic"); | |
| // Instantiate a Presentation object that represents a presentation file and | |
| // load the source PPTX/PPT file. |
NewerOlder