Aspose.Cells is capable of loading TSV file and converting it to PDF with diverse options. In this article, we will explain how Java developers can use Aspose.Cells API to convert TSV to PDF ...
- With One Page Per Sheet Option
TSV file is an abbreviation of Tab-separated values because it uses Tab to separate fields in a row.
Caption: Sample TSV file to be converted to PDF formats using Aspose.Cells API
The following sample code loads the sample TSV file as shown earlier and converts it to PDF directly.
The following screenshot shows the output PDF file generated by the above code for your reference. As you can see inside the screenshot, output PDF has two pages. If you want to render everything on a single PDF page, you can use One Page Per Sheet option that will be explained soon.
Caption: Convert TSV to PDF Directly using Aspose.Cells API
The following sample code loads the sample TSV file and converts it to PDF with One Page Per Sheet option specified using the PdfSaveOptions class.
Caption: Convert TSV to PDF with One Page Per Sheet option using Aspose.Cells API