ConvertedEventArgs.OutputFilePath Property
The path where the converted output file will be stored.
public string OutputFilePath { get; set; }
Property Value
Licensing Info
This property 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 make use of OutPutFilePath property of converted event argument.using System;
using ceTe.DynamicPDF.Conversion;
class MyClass
{
static void Main()
{
// create an instance of AsyncConverter
AsyncConverter converter = new AsyncConverter();
// Events to know if conversion completed successfully or not
converter.Converted += new ConvertedEventHandler(converter_Converted);
// Call Convert method to start conversion asynchronously and Get the status of conversion
AsyncConversion asyncConversion = converter.Convert(@"C:\MyDocument.doc", @"C:\MyOutput.pdf");
}
private static void converter_Converted(object sender, ConvertedEventArgs e)
{
Console.WriteLine(e.OutputFilePath + " is the output file path.")
}
}
See Also
ConvertedEventArgsceTe.DynamicPDF.Conversion