This documentation is archived and is not being maintained.

CombineMode Enumeration

Specifies how different clipping regions can be combined.

Namespace:  System.Drawing.Drawing2D
Assembly:  System.Drawing (in System.Drawing.dll)

public enum CombineMode

Member nameDescription
Supported by the .NET Compact FrameworkReplaceOne clipping region is replaced by another.
Supported by the .NET Compact FrameworkIntersectTwo clipping regions are combined by taking their intersection.
Supported by the .NET Compact FrameworkUnionTwo clipping regions are combined by taking the union of both.
Supported by the .NET Compact FrameworkXorTwo clipping regions are combined by taking only the areas enclosed by one or the other region, but not both.
Supported by the .NET Compact FrameworkExcludeSpecifies that the existing region is replaced by the result of the new region being removed from the existing region. Said differently, the new region is excluded from the existing region.
Supported by the .NET Compact FrameworkComplementSpecifies that the existing region is replaced by the result of the existing region being removed from the new region. Said differently, the existing region is excluded from the new region.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 3.5, 2.0, 1.0
Show: