excel convert PDF

Technical support for Spire.XLS

Moderators: iceblue support, Flash, Manager

excel convert PDF

Postby jinguohai2009 » Wed Aug 28, 2013 10:00 am

How to put the rectangular excel convert PDF.
Posts: 1
Joined: Wed Aug 28, 2013 5:31 am

Re: excel convert PDF

Postby Gary.zhang » Thu Aug 29, 2013 2:50 am

Thanks for your inquiry.

Sorry that we doesn't understand your need, could you please describe your needs in detail? BTW, You could use the following method to convert Excel to PDF,
Code: Select all
Workbook workbook = new Workbook();
workbook.LoadFromFile(your excel file);
PdfDocument pdfdoc = new PdfDocument();
var converter = new PdfConverter(workbook);
var setting = new PdfConverterSettings
EmbedFonts = true,
TemplateDocument = pdfdoc,
FitSheetToOnePage = FitToPageType.NoScale
pdfdoc = converter.Convert(setting);
pdfdoc.SaveToFile(string filename);

If there are any questions, welcome to get it back to us.

E-iceblue support team
User avatar
Posts: 1390
Joined: Thu Apr 04, 2013 1:30 am

Return to Spire.XLS

Who is online

Users browsing this forum: No registered users and 1 guest