Click or drag to resize
Pdf Library for .NET

ExcelToPdf Methods

The ExcelToPdf type exposes the following members.

Methods
 NameDescription
Public methodConvertBytes(Byte) Converts a workbook held in memory to pdf. The format is detected from the content (xlsx family, xls, SpreadsheetML, csv); tab-separated values and markdown must be named with ConvertBytes(Byte, ExcelFormat).
Public methodConvertBytes(Byte, ExcelFormat) Converts a workbook held in memory to pdf, reading it as the given format.
Public methodConvertFile(String) Converts the workbook at the given path to pdf. The format is taken from the file extension, or detected from the content when the extension is not one of the known ones.
Public methodConvertFile(String, ExcelFormat) Converts the workbook at the given path to pdf, reading it as the given format.
Public methodConvertStream(Stream) Converts the workbook read from a stream to pdf. The format is detected from the content (xlsx family, xls, SpreadsheetML, csv); tab-separated values and markdown must be named with ConvertStream(Stream, ExcelFormat).
Public methodConvertStream(Stream, ExcelFormat) Converts the workbook read from a stream to pdf, reading it as the given format.
Top
See Also