WordToPdfConverter Class

This class is the main class of the Word to PDF Converter which offers the necessary methods to create a PDF document from a Word file or a Word document data. The generated PDF document can be saved into a memory buffer or into a file

Definition

Namespace: EvoPdfClient
Assembly: EvoPdfClient (in EvoPdfClient.dll) Version: 11.0.0.0 (11.0.0.0)
C#
public class WordToPdfConverter
Inheritance
Object    WordToPdfConverter

Constructors

WordToPdfConverter Constructs a Word to PDF converter which will connect to localhost on the default port
WordToPdfConverter(String) Constructs a Word to PDF converter which will connect to the server specified by IP or by name on the default port
WordToPdfConverter(UInt32) Constructs a Word to PDF converter which will connect to localhost on the specified port
WordToPdfConverter(Boolean, String) Constructs a Word to PDF converter which will connect to a web service URL
WordToPdfConverter(String, UInt32) Constructs a Word to PDF converter which will connect to the server specified by IP or by name on the specified port

Properties

ClientProxy 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
LicenseKey Gets or sets the license key string received from the vendor in Word 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.
PdfDocumentInfo Gets a reference to the object to controlling the generated PDF document information like the document title, author, subject or creation date.
PdfDocumentOptions 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.
PdfFooterOptions Gets a reference to an object to control the generated PDF document footer options
PdfHeaderOptions Gets a reference to an object to control the generated PDF document header options
PdfSecurityOptions 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.
PdfViewerPreferences Gets a reference to the object controlling how the generated PDF is displayed by a PDF viewer.
Port The server port number
Server The server IP or name
ServicePassword Gets or sets the converter service password. You have to set this property if the ervice is password protected.
UseWebService A flag indicating if the client library will call the Web service or the TCP service to perform the conversion
WebServiceUrl The web service URL

Methods

ConvertWordData(Byte) Converts a Word document read from a data buffer to PDF and returns the rendered PDF document into a memory buffer
ConvertWordData(Byte, String) Converts a Word 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 Word document
ConvertWordData(Byte, Int32, Int32) Converts a Word document read from a data buffer to PDF and returns the rendered PDF document into a memory buffer. You can specify the page range to be exported to PDF
ConvertWordData(Byte, String, Int32, Int32) Converts a Word 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 Word document and the page range to be exported to PDF
ConvertWordDataToFile(Byte, String) Converts a Word document read from a data buffer to PDF and writes the rendered PDF document into a file
ConvertWordDataToFile(Byte, String, String) Converts a Word 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 Word document
ConvertWordDataToFile(Byte, Int32, Int32, String) Converts a Word document read from a data buffer to PDF and writes the rendered PDF document into a file. You can specify the page range to be exported to PDF
ConvertWordDataToFile(Byte, String, Int32, Int32, String) Converts a Word 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 Word document and the page range to be exported to PDF
ConvertWordDataToPdfDocumentObject(Byte) Converts a Word 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
ConvertWordDataToPdfDocumentObject(Byte, String) Converts a Word 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 Word document
ConvertWordDataToPdfDocumentObject(Byte, Int32, Int32) Converts a Word 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 page range to be exported to PDF
ConvertWordDataToPdfDocumentObject(Byte, String, Int32, Int32) Converts a Word 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 Word document and the page range to be exported to PDF
ConvertWordFile(String) Converts a Word file to PDF and returns the rendered PDF document into a memory buffer
ConvertWordFile(String, String) Converts a Word file to PDF and returns the rendered PDF document into a memory buffer. You can specify the password to open the Word document
ConvertWordFile(String, Int32, Int32) Converts a Word file to PDF and returns the rendered PDF document into a memory buffer. You can specify the page range to be exported to PDF
ConvertWordFile(String, String, Int32, Int32) Converts a Word file to PDF and returns the rendered PDF document into a memory buffer. You can specify the password to open the Word document and page range to be exported to PDF
ConvertWordFileToFile(String, String) Converts a Word file to PDF and writes the rendered PDF document into a file
ConvertWordFileToFile(String, String, String) Converts a Word file to PDF and writes the rendered PDF document into a file. You can specify the password to open the Word document
ConvertWordFileToFile(String, Int32, Int32, String) Converts a Word file to PDF and writes the rendered PDF document into a file. You can specify the page range to be exported to PDF
ConvertWordFileToFile(String, String, Int32, Int32, String) Converts a Word file to PDF and writes the rendered PDF document into a file. You can specify the password to open the Word document and the page range to be exported to PDF
ConvertWordFileToPdfDocumentObject(String) Converts a Word 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
ConvertWordFileToPdfDocumentObject(String, String) Converts a Word 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 Word document
ConvertWordFileToPdfDocumentObject(String, Int32, Int32) Converts a Word 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 page range to be exported to PDF
ConvertWordFileToPdfDocumentObject(String, String, Int32, Int32) Converts a Word 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 Word document and the page range to be exported to PDF
EqualsDetermines whether the specified Object is equal to the current Object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as a hash function for a particular type.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also