corelibraries-devexpress-dot-drawing-dot-dxgraphics.md
Gets or sets how to draw composited images
Namespace : DevExpress.Drawing
Assembly : DevExpress.Drawing.v25.2.dll
NuGet Package : DevExpress.Drawing
public DXCompositingMode CompositingMode { get; set; }
Public Property CompositingMode As DXCompositingMode
| Type | Description |
|---|---|
| DXCompositingMode |
An enumeration value that determines the compositing mode.
|
Available values:
| Name | Description |
|---|---|
| SourceOver |
When a source color is rendered, it blends with the background color. The blend is determined by the alpha component of the color being rendered.
| | SourceCopy |
When a source color is rendered, it overwrites the background color.
|
Note
If you set the CompositingMode property to SourceCopy when the DXGraphics.TextRenderingHint property is set to ClearTypeGridFit, an exception could occur or the image may not render correctly.
See Also