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
…..."Arial" // Ensures consistent font rendering }; // Save the workbook..."Arial" // Ensures consistent font rendering }; // Save the workbook...