RtfConverter
Defines methods and properties for the RtfConverter.
public class RtfConverter
Public Class RtfConverter
Inheritance: ObjectRtfConverter
Licensing Info
This class is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Converter selected.
- A DynamicPDF Converter for .NET v3.X Developer license.
Examples
This example shows how to use RtfConverter class.Imports ceTe.DynamicPDF.Conversion
Module Module1
Sub Main()
' create new instance of RtfConversionOptions.
Dim conversionOptions As RtfConversionOptions = New RtfConversionOptions(True)
' Create new instance of Converter by providing suitable parameters.
Dim rtfConversion As RtfConverter = New RtfConverter("C:\MyDocument.rtf",conversionOptions)
' Call Convert method to start conversion
rtfConversion.Convert("C:\MyOutput.pdf")
End Sub
End Module
using ceTe.DynamicPDF.Conversion;
class MyClass
{
static void Main()
{
// create new instance of RtfConversionOptions.
RtfConversionOptions conversionOptions=new RtfConversionOptions(true);
// Create new instance of Converter by providing suitable parameters.
RtfConverter rtf = new RtfConverter(@"C:\MyDocument.rtf",conversionOptions);
//Call Convert method to start conversion
rtf.Convert(@"C:\MyOutput.pdf");
}
}
Constructors
RtfConverter(Byte[], String) | Creates an instance of the RtfConverter class. |
RtfConverter(Byte[], String, RtfConversionOptions) | Creates an instance of the RtfConverter class. |
RtfConverter(String) | Creates an instance of the RtfConverter class. |
RtfConverter(String, RtfConversionOptions) | Creates an instance of the RtfConverter class. |
Properties
ConversionOptions | Gets the instance of the RtfConversionOptions class |
Methods
Convert() | Converts Rtf to Pdf |
Convert(Byte[]) | Converts Rtf to Pdf |
Convert(String) | Converts Rtf 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
RtfConverter.Completed | Occurs when a document is successfully converted. |
RtfConverter.ProgressChanged | Occurs when the status of a document conversion changes. |