Winnovative Logo

ExcelToPdfConverter Class

Winnovative Client for .NET Core
This class is the main class of the Excel to PDF Converter which offers the necessary methods to create a PDF document from an Excel file or an Excel document data. The generated PDF document can be saved into a memory buffer or into a file
Inheritance Hierarchy

SystemObject
  WinnovativeClientExcelToPdfConverter

Namespace:  WinnovativeClient
Assembly:  WinnovativeClient_NetCore (in WinnovativeClient_NetCore.dll) Version: 17.0.0
Syntax

public class ExcelToPdfConverter

The ExcelToPdfConverter type exposes the following members.

Constructors

  NameDescription
Public methodExcelToPdfConverter
Constructs a Excel to PDF converter which will connect to localhost on the default port
Public methodExcelToPdfConverter(String)
Constructs a Excel to PDF converter which will connect to the server specified by IP or by name on the default port
Public methodExcelToPdfConverter(UInt32)
Constructs a Excel to PDF converter which will connect to localhost on the specified port
Public methodExcelToPdfConverter(Boolean, String)
Constructs a Excel to PDF converter which will connect to a web service URL
Public methodExcelToPdfConverter(String, UInt32)
Constructs a Excel to PDF converter which will connect to the server specified by IP or by name on the specified port
Top
Properties

  NameDescription
Public propertyClientProxy
You can set this property with an object implementing the IWebProxy interface to be used when accessing the Web Service through a proxy server. This property does not have any effect when using a TCP Service
Public propertyLicenseKey
Gets or sets the license key string received from the vendor in Excel to PDF converter. If this property is null the converter will automatically enter in evaluation mode and a demo watermark will be displayed on the generated PDF document.
Public propertyPdfDocumentInfo
Gets a reference to the object to controlling the generated PDF document information like the document title, author, subject or creation date.
Public propertyPdfDocumentOptions
Gets a reference to the object controlling the conversion process and the generated PDF document properties. This property can be used to control the PDF document margins, PDF compression level, JPEG compression level, the PDF page size and orientation, the PDF document headers and footers, true type fonts embedding, fit width and stretch to fit, conversion to a single PDF page, append or prepend external PDF documents.
Public propertyPdfFooterOptions
Gets a reference to an object to control the generated PDF document footer options. The footer is displayed in the generated PDF document only if the ShowFooter property is true.
Public propertyPdfHeaderOptions
Gets a reference to an object to control the generated PDF document header options. The header is displayed in the generated PDF document only if the ShowHeader property is true.
Public propertyPdfSecurityOptions
Gets a reference to the object to controlling the generated PDF document security settings like user and owner password, restrict printing or editing of the generated PDF document.
Public propertyPdfViewerPreferences
Gets a reference to the object controlling how the generated PDF is displayed by a PDF viewer.
Public propertyPort
The server port number
Public propertyServer
The server IP or name
Public propertyServicePassword
Gets or sets the converter service password. You have to set this property if the ervice is password protected.
Public propertyShowAllContent
Gets or sets a flag indicating if the cells are resized to show all content. The default value is true
Public propertyUseWebService
A flag indicating if the client library will call the Web service or the TCP service to perform the conversion
Public propertyWebServiceUrl
The web service URL
Top
Methods

  NameDescription
Public methodConvertExcelData(Byte)
Converts an Excel document read from a data buffer to PDF and returns the rendered PDF document into a memory buffer
Public methodConvertExcelData(Byte, Int32)
Converts an Excel document read from a data buffer to PDF and returns the rendered PDF document into a memory buffer. You can specify the list of worksheets to be exported to PDF
Public methodConvertExcelData(Byte, String)
Converts an Excel document read from a data buffer to PDF and returns the rendered PDF document into a memory buffer
Public methodConvertExcelData(Byte, String, Int32)
Converts an Excel document read from a data buffer to PDF and returns the rendered PDF document into a memory buffer. You can specify the password to open the Excel File and the list of worksheets to be exported to PDF
Public methodConvertExcelDataToFile(Byte, String)
Converts an Excel document read from a data buffer to PDF and writes the rendered PDF document into a file
Public methodConvertExcelDataToFile(Byte, Int32, String)
Converts an Excel document read from a data buffer to PDF and writes the rendered PDF document into a file. You can specify the list of worksheets to be exported to PDF
Public methodConvertExcelDataToFile(Byte, String, String)
Converts an Excel document read from a data buffer to PDF and writes the rendered PDF document into a file
Public methodConvertExcelDataToFile(Byte, String, Int32, String)
Converts an Excel document read from a data buffer to PDF and writes the rendered PDF document into a file. You can specify the password to open the Excel document and the list of worksheets to be exported to PDF
Public methodConvertExcelDataToPdfDocumentObject(Byte)
Converts an Excel document read from a data buffer to PDF and returns the rendered PDF document as an object of the Document class that can be further used in other operations requiring this type of objects
Public methodConvertExcelDataToPdfDocumentObject(Byte, Int32)
Converts an Excel document read from a data buffer to PDF and returns the rendered PDF document as an object of the Document class that can be further used in other operations requiring this type of objects. You can specify the list of worksheets to be exported to PDF
Public methodConvertExcelDataToPdfDocumentObject(Byte, String)
Converts an Excel document read from a data buffer to PDF and returns the rendered PDF document as an object of the Document class that can be further used in other operations requiring this type of objects
Public methodConvertExcelDataToPdfDocumentObject(Byte, String, Int32)
Converts an Excel document read from a data buffer to PDF and returns the rendered PDF document as an object of the Document class that can be further used in other operations requiring this type of objects. You can specify the password to open the Excel document and the list of worksheets to be exported to PDF
Public methodConvertExcelFile(String)
Converts an Excel file to PDF and returns the rendered PDF document into a memory buffer
Public methodConvertExcelFile(String, Int32)
Converts an Excel file to PDF and returns the rendered PDF document into a memory buffer. You can specify the list of worksheets to be exported to PDF
Public methodConvertExcelFile(String, String)
Converts an Excel file to PDF and returns the rendered PDF document into a memory buffer
Public methodConvertExcelFile(String, String, Int32)
Converts an Excel file to PDF and returns the rendered PDF document into a memory buffer. You can specify the list of worksheets to be exported to PDF
Public methodConvertExcelFileToFile(String, String)
Converts an Excel file to PDF and writes the rendered PDF document into a file
Public methodConvertExcelFileToFile(String, Int32, String)
Converts an Excel file to PDF and writes the rendered PDF document into a file. You can specify the list of worksheets to be exported to PDF
Public methodConvertExcelFileToFile(String, String, String)
Converts an Excel file to PDF and writes the rendered PDF document into a file
Public methodConvertExcelFileToFile(String, String, Int32, String)
Converts an Excel file to PDF and writes the rendered PDF document into a file. You can specify the password to open the Excel document and the list of worksheets to be exported to PDF
Public methodConvertExcelFileToPdfDocumentObject(String)
Converts an Excel file to PDF and returns the rendered PDF document as an object of the Document class that can be further used in other operations requiring this type of objects
Public methodConvertExcelFileToPdfDocumentObject(String, Int32)
Converts an Excel file to PDF and returns the rendered PDF document as an object of the Document class that can be further used in other operations requiring this type of objects. You can specify the list of worksheets to be exported to PDF
Public methodConvertExcelFileToPdfDocumentObject(String, String)
Converts an Excel file to PDF and returns the rendered PDF document as an object of the Document class that can be further used in other operations requiring this type of objects
Public methodConvertExcelFileToPdfDocumentObject(String, String, Int32)
Converts an Excel file to PDF and returns the rendered PDF document as an object of the Document class that can be further used in other operations requiring this type of objects. You can specify the password to open the Excel document and the list of worksheets to be exported to PDF
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
See Also

Reference