Region::Xor Method (Region^)

 

Updates this Region to the union minus the intersection of itself with the specified Region.

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

public:
void Xor(
	Region^ region
)

Parameters

region
Type: System.Drawing::Region^

The Region to Xor with this Region.

Exception Condition
ArgumentNullException

region is null.

For a code example, see the Xor(RectangleF) andComplement(GraphicsPath^) methods.

.NET Framework
Available since 1.1
Return to top
Show: