Back to Devexpress

DXGraphics.CompositingMode Property

corelibraries-devexpress-dot-drawing-dot-dxgraphics.md

latest1.6 KB
Original Source

DXGraphics.CompositingMode Property

Gets or sets how to draw composited images

Namespace : DevExpress.Drawing

Assembly : DevExpress.Drawing.v25.2.dll

NuGet Package : DevExpress.Drawing

Declaration

csharp
public DXCompositingMode CompositingMode { get; set; }
vb
Public Property CompositingMode As DXCompositingMode

Property Value

TypeDescription
DXCompositingMode

An enumeration value that determines the compositing mode.

|

Available values:

NameDescription
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.

|

Remarks

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

DXGraphics Class

DXGraphics Members

DevExpress.Drawing Namespace