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.v23.1.Core.dll

NuGet Packages: DevExpress.Printing.Core, DevExpress.Win.Dashboard.Design


public static bool PassPdfDrawingExceptions { get; set; }

Property Value

Type Description

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


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