Accusoft.PdfXpress7.Net
Debug

PDF Xpress provides the ability to control the level of information written to the debug log, as well as the ability to turn off writing to a debug log file completely.

Control Debugging Information

Use the methods and properties below to adjust the settings of your debugging for optimal performance.

C# Example
Copy Code
            // This code demonstrates turning on the debug log and specifying the error level as well as the location that the log file is written to
            Accusoft.PdfXpressSdk.PdfXpress pdfXpress1 = null;
            try
            {
                pdfXpress1 = new PdfXpress();
                pdfXpress1.Initialize(null, null);
                pdfXpress1.Debug = true;
                pdfXpress1.DebugLogFile = "C:\\pdfxpress.log";
                pdfXpress1.DebugErrorLevel = ErrorLevel.Detailed;
            }
            catch (System.Exception)
            {
            }
            finally
            {
                if (null != pdfXpress1)
                {
                    pdfXpress1.Dispose();
                }
            }

 

See Also

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback