Guest User

Untitled

a guest
Aug 18th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. // Directory path for input and output files.
  2. String dirPath = "D:\\Download\\";
  3.  
  4. // Specify that you want to load TSV file.
  5. LoadOptions opts = new LoadOptions(LoadFormat.TSV);
  6.  
  7. // Load your sample TSV file inside the Workbook object using specified LoadOptions.
  8. com.aspose.cells.Workbook wb = new Workbook(dirPath + "sampleConvertTSVToPDF.tsv", opts);
  9.  
  10. // Save TSV file to PDF directly.
  11. wb.save(dirPath + "outputConvertTSVToPDFDirectly.pdf", SaveFormat.PDF);
Add Comment
Please, Sign In to add comment