VisioConverter
Defines methods and properties for the VisioConverter.
public class VisioConverter
Public Class VisioConverter
Inheritance: ObjectVisioConverter
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 VisioConverter class.Imports ceTe.DynamicPDF.Conversion
Module Module1
Sub Main()
' create new instance of VisioConversionOptions.
Dim conversionOptions As VisioConversionOptions = New VisioConversionOptions(True)
' Create new instance of Converter by providing suitable parameters.
Dim visioConversion As VisioConverter = New VisioConverter("C:\MyDocument.vsd",conversionOptions)
' Call Convert method to start conversion
visioConversion.Convert("C:\MyOutput.pdf")
End Sub
End Module
using ceTe.DynamicPDF.Conversion;
class MyClass
{
static void Main()
{
// create new instance of VisioConversionOptions.
VisioConversionOptions conversionOptions=new VisioConversionOptions(true);
// Create new instance of Converter by providing suitable parameters.
VisioConverter visio = new VisioConverter(@"C:\MyDocument.vsd",conversionOptions);
//Call Convert method to start conversion
visio.Convert(@"C:\MyOutput.pdf");
}
}
Constructors
VisioConverter(Byte[], String) | Creates an instance of the VisioConverter class. |
VisioConverter(Byte[], String, VisioConversionOptions) | Creates an instance of the VisioConverter class. |
VisioConverter(String) | Creates an instance of the VisioConverter class. |
VisioConverter(String, VisioConversionOptions) | Creates an instance of the VisioConverter class. |
Properties
ConversionOptions | Gets the instance of the VisioConversionOptions class |
Methods
Convert() | Converts Visio to Pdf |
Convert(Byte[]) | Converts Visio to Pdf |
Convert(String) | Converts Visio 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
VisioConverter.Completed | Occurs when a document is successfully converted. |
VisioConverter.ProgressChanged | Occurs when the status of a document conversion changes. |