We are converting XLSX and XLSM files to PDFs using the following code.
static public string ConvertExcel(string inputFilePath = "", string outputFilePath = "")
{
string results = "SUCCESS";
try
…...wish to render your specified range or printed area, you can disregard...