Skip to main content

PrintingSettings.PassPdfDrawingExceptions Property

Enables you to prevent PDF drawing exceptions related to the GDI+ engine from being handled by the DevExpress export engine.

Namespace: DevExpress.XtraPrinting.Native

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public static bool PassPdfDrawingExceptions { get; set; }

Property Value

Type Description
Boolean

true to avoid handling PDF drawing exceptions; otherwise false. The default is false.

Remarks

By default, PDF drawing exceptions are handled by the DevExpress export engine, which may result in incorrect PDF content (such as red crosses being drawn in place of page content).

Enable this property to obtain the exact message and call stack of any exception related to PDF drawing.

See Also