ConversionOptions.Logging Property
Gets or sets the Temporary directory path.
public static LogConfig Logging { get; }
Public Shared Property Logging As LogConfig
Property Value
Licensing Info
This property is a DynamicPDF HTML Converter feature. One of the following is required for non-evaluation usage:
- Any active DynamicPDF Subscription (Essentials, Professional, Professional Plus or Ultimate).
- A DynamicPDF HTML Converter for .NET v2.X Essentials license.
- It can also be used for free with a public link back to www.dynamicpdf.com and with the DynamicPDF Essentials message displaying on the bottom of each page.
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("Hello World
", "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(@"Hello World
", @"C:\MyOutput.pdf");
}
}