Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Directory path for input and output files.
- String dirPath = "D:\\Download\\";
- // Specify that you want to load TSV file.
- LoadOptions opts = new LoadOptions(LoadFormat.TSV);
- // Load your sample TSV file inside the Workbook object using specified LoadOptions.
- com.aspose.cells.Workbook wb = new Workbook(dirPath + "sampleConvertTSVToPDF.tsv", opts);
- // Save TSV file to PDF directly.
- wb.save(dirPath + "outputConvertTSVToPDFDirectly.pdf", SaveFormat.PDF);
Add Comment
Please, Sign In to add comment