ConversionOptions.Logging Property

Gets or sets the Temporary directory path.

public static LogConfig Logging { get; }
Public Shared Property Logging As LogConfig

Property Value

LogConfig

Licensing Info

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

Examples

This example shows how to use the TemporaryDirectory property.
Imports ceTe.DynamicPDF.Conversion

Module Module1

    Sub Main()

        ' Assign level of logging to log config.
        ConversionOptions.Logging.Level = LogLevel.Warning

        ' Call convert method to do conversion.
        Converter.Convert("C:\MyDocument.doc", "C:\MyOutput.pdf")

    End Sub

End Module
using System;
using ceTe.DynamicPDF.Conversion;

class MyClass
{
    static void Main()
    {
        //Assign level of logging to log config.
        ConversionOptions.Logging.Level = LogLevel.Warning;

        // Call convert method to do conversion.
        Converter.Convert(@"C:\MyDocument.doc", @"C:\MyOutput.pdf");        
    }      
}

See Also

ConversionOptions
ceTe.DynamicPDF.Conversion

In this topic