WordConverter

Defines methods and properties for the WordConverter.

public class WordConverter
Public Class WordConverter

Inheritance: ObjectWordConverter

Licensing Info

This class is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:

Examples

This example shows how to use WordConverter class.
Imports ceTe.DynamicPDF.Conversion

Module Module1

Sub Main()

    ' create new instance of WordConversionOptions.
    Dim conversionOptions As WordConversionOptions = New WordConversionOptions(True)
    
   ' Create new instance of Converter by providing suitable parameters.
    Dim wordConversion As WordConverter = New WordConverter("C:\MyDocument.doc",conversionOptions)

    ' Call Convert method to start conversion
    wordConversion.Convert("C:\MyOutput.pdf")

End Sub
 
End Module
using ceTe.DynamicPDF.Conversion;

class MyClass
{
    static void Main()
    {
        // create new instance of WordConversionOptions.
        WordConversionOptions conversionOptions=new WordConversionOptions(true);

        // Create new instance of Converter by providing suitable parameters.
        WordConverter word = new WordConverter(@"C:\MyDocument.doc",conversionOptions);
        
        //Call Convert method to start conversion
        word.Convert(@"C:\MyOutput.pdf");
    }
}

Constructors

WordConverter(Byte[], String)Creates an instance of the WordConverter class.
WordConverter(Byte[], String, WordConversionOptions)Creates an instance of the WordConverter class.
WordConverter(String)Creates an instance of the WordConverter class.
WordConverter(String, WordConversionOptions)Creates an instance of the WordConverter class.

Properties

ConversionOptionsGets the instance of the WordConversionOptions class

Methods

Convert()Converts Word to Pdf
Convert(Byte[])Converts Word to Pdf
Convert(String)Converts Word to Pdf
ConvertAsync()Does the Asynchronous conversion
ConvertAsync(Byte[])Does the Asynchronous conversion
ConvertAsync(String)Does the Asynchronous conversion
Equals(Object)Determines whether the specified Object is equal to the current Object .
(Inherited from Object)
GetHashCode()Serves as a hash function for a particular type.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
ToString()Returns a String that represents the current Object .
(Inherited from Object)

Events

WordConverter.CompletedOccurs when a document is successfully converted.
WordConverter.ProgressChangedOccurs when the status of a document conversion changes.

See Also

ceTe.DynamicPDF.Conversion

In this topic