XLSM file convert to PDF file ,C#.NET

Posted by Plhkrishna under C# on 10/4/2017 | Points: 10 | Views : 227 | Status : [Member] | Replies : 2
Hi,
i am working for c#.net windows applications,
after uploading XLSM file ,it should be convert into pdf file,
can any one give code for this

.net developer


Responses

Posted by: Prabahkar on: 10/8/2017 [Member] Starter | Points: 25

Up
0
Down
try following code
using Spire.Xls;

namespace CSV2PDF
{
class Program
{
static void Main(string[] args)
{
Workbook wb = new Workbook();
wb.LoadFromFile("sample.xlsm",ExcelVersion.Version2007);
wb.SaveToFile("toPDF.pdf", FileFormat.PDF);
}
}
}


Plhkrishna, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Adamlee on: 10/14/2017 [Member] Starter | Points: 25

Up
0
Down
Its not possible to deliver a c# in dot net application.
http://www.traininginmarathahalli.in/dot-net-training-in-bangalore/

Plhkrishna, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response