PrintJob.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 PrintManager feature. One of the following is required for non-evaluation usage:

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();
    }      
}

See Also

PrintJob
ceTe.DynamicPDF.Printing

In this topic