VeryUtils Excel To PDF Converter Command Line for .NET without MS Excel application

VeryUtils Excel To PDF Converter Command Line is a Windows command line application, it is a standalone application and can be used to convert from XLS, XLSX, CVS, etc. formats to HTML, PDF, XLS, XLSX, CSV, etc. formats without require MS Excel or OpenOffice application installed in your system. VeryUtils Excel To PDF Converter Command Line can be used in any type of .NET application to convert Excel documents to PDF. The integration with existing .NET applications is extremely easy and no installation is necessary in order to run the converter. The downloaded archive contains a Command Line application for Excel to PDF conversion, you can call this command line application from your C#, VB.NET, ASP.NET etc. .NET applications easily.

https://veryutils.com/excel-converter-command-line

The Excel to PDF Converter does not require Microsoft Excel or other third party tools.

image

VeryUtils Excel To PDF Converter Command Line highlight features:
* Convert Excel XLS and XLSX documents to PDF
* Does not require Microsoft Excel or other third party tools
* Convert all the worksheets or select the worksheets in workbook to convert
* Set PDF page size to a standard (A4, etc.) or a custom size
* Set PDF page orientation and PDF document margins
* Add headers and footers with page numbering to PDF pages
* Append or prepend external PDF files to conversion result
* Password protect and set permissions of the PDF document
* Support for .NET 4.0 framework and later
* Excel Converter can be run via command line.
* Convert up to 20 times faster when not using Excel.
* more...

More info on specific Excel file conversions:
* Convert XLS to CSV
* Convert XLSX to CSV
* Convert CSV to XLS
* Convert CSV to XLSX
* Convert CSV to PDF
* Convert XLS to PDF
* Convert XLSX to PDF
* Convert CSV to HTML
* Convert XLS to HTML
* Convert XLSX to HTML
* Convert Excel to TXT
* Convert Excel to TXT Command Line
* Text to Excel Converter
* Text to Excel Command Line Converter
* Convert Excel to/from to many file types.

Command Line examples:
ConvertExcel.exe --export-options "separator=; format=raw" sample.xlsx _out_sample-xlsx2txt.txt
ConvertExcel.exe sample.xlsx _out_sample-xlsx2csv.csv
ConvertExcel.exe sample.xlsx _out_sample-xlsx2xls.xls
ConvertExcel.exe sample.xlsx _out_sample-xlsx2pdf.pdf
ConvertExcel.exe _out_sample.csv _out_sample-csv2xls.xls
ConvertExcel.exe _out_sample.csv _out_sample-csv2xlsx.xlsx
ConvertExcel.exe sample.xlsx _out_sample-xlsx2html.html
ConvertExcel.exe sample.xlsx _out_sample-xlsx2ods.ods
ConvertExcel.exe --merge-to=_out_merged.xls _out_sample-xlsx2csv.csv sample.xlsx _out_sample-xlsx2xls.xls
ConvertExcel.exe --export-options "paper=iso_a2_420x594mm" sample.xlsx _out_sample-xlsx2pdf-paper-size.pdf
ConvertExcel.exe --export-file-per-sheet _out_merged.xls _out_files-per-sheet-%n-%s.csv

You can use following C# source code to call ConvertExcel.exe application to convert Excel formats to other formats,

using System.Diagnostics;

class Program
{
    static void Main()
    {
        LaunchCommandLineApp();
    }

    static void LaunchCommandLineApp()
    {
        // Part 1: use ProcessStartInfo class.
        ProcessStartInfo startInfo = new ProcessStartInfo();
        startInfo.CreateNoWindow = false;
        startInfo.UseShellExecute = false;
        startInfo.FileName = "D:\\veryutils\\ConvertExcel.exe";
        startInfo.WindowStyle = ProcessWindowStyle.Hidden;

        // Part 2: set arguments.
        startInfo.Arguments = "D:\\sample.xlsx D:\\out.pdf";

        try
        {
            // Part 3: start with the info we specified.
            // ... Call WaitForExit.
            using (Process exeProcess = Process.Start(startInfo))
            {
                exeProcess.WaitForExit();
            }
        }
        catch
        {
            // Log error.
        }
    }
}

No votes yet.
Please wait...

Related Posts

Leave a Reply

Your email address will not be published.