PrintJob.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 PrintManager 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 PrintManager selected.
- A DynamicPDF PrintManager for .NET v4.X Developer license.
Examples
This example shows how to use the TemporaryDirectory property.Imports ceTe.DynamicPDF.Printing
Module Module1
Sub Main()
' Assign level of logging to log config.
PrintJob.Logging.Level = LogLevel.Warning
' Create a print job containing the first four pages of the PDF
Dim MyPrintJob As PrintJob = New PrintJob("PrinterName", "C:\MyDocument.pdf", 1, 4)
' Print the job
MyPrintJob.Print()
End Sub
End Module
using System;
using ceTe.DynamicPDF.Printing;
class MyClass
{
static void Main()
{
//Assign level of logging to log config.
PrintJob.Logging.Level = LogLevel.Warning;
// Create a print job containing the first four pages of the PDF
PrintJob printJob = new PrintJob("PrinterName", @"C:\MyDocument.pdf", 1, 4);
// Print the job
printJob.Print();
}
}