This documentation is archived and is not being maintained.
Graphics::CompositingMode Property
Visual Studio 2010
Gets a value that specifies how composited images are drawn to this Graphics.
Assembly: System.Drawing (in System.Drawing.dll)
public: property CompositingMode CompositingMode { CompositingMode get (); void set (CompositingMode value); }
Property Value
Type: System.Drawing.Drawing2D::CompositingModeThis property specifies a member of the CompositingMode enumeration. The default is SourceOver.
The compositing mode determines whether pixels from a source image overwrite or are combined with background pixels.
Note |
|---|
You should not use a CompositingMode property value of SourceCopy when the TextRenderingHint property is set to ClearTypeGridFit. An exception could occur or the image may not render correctly. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
Note