Skip to main content
All docs
V25.1

DevExpress.Drawing Graphics Library

  • 2 minutes to read

The DevExpress.Drawing Graphics Library contains the basic drawing functionality for DevExpress components. This library ships with the DevExpress primitives, which serve as counterparts for the System.Drawing primitives (Font, Pen, Brush, and so on).

The DevExpress.Drawing Graphics Library is available for the following products:

The library can utilize two drawing engines: one based on GDI+, another based on SkiaSharp. This article describes the library usage with different operating systems and frameworks, and limitations in each supported product.

#Default Drawing Library Behavior (GDI+) for Windows Environments

The DevExpress.Drawing library automatically enables the GDI+ engine. No additional references or actions are required.

Warning

You should not use the SkiaSharp-based engine on Windows because the GDI+ engine is used by default. However, in rare cases, such as when your app exceeds the 10K GDI handle limit or you reach the desktop heap limit, you may need to switch to SkiaSharp. This can happen when a DevExpress report has many complex XRRichText components (USER32 kernel objects used to draw content or measure text with Windows GDI+ API). In this case, set the Settings.DrawingEngine property to DrawingEngine.Skia to enable SkiaSharp rendering.

#Enable the SkiaSharp Drawing Engine for non-Windows Environments

The SkiaSharp-based engine is automatically enabled for non-Windows systems - you do not need to enable the engine manually.

To enable the SkiaSharp-based engine, ensure that your project references the following packages:

Refer to the following article for more information on library troubleshooting:

Read Tutorial: Troubleshooting

#Limitations

The following features are not available in supported products in non-Windows environments:

  • Export to EMF, WMF and TIFF image formats.
See Also