Exclude

Region.Exclude method (1 of 4)

Updates this Region to contain only the portion of its interior that does not intersect with the specified RectangleF structure.

public void Exclude(RectangleF rect)
ParameterTypeDescription
rectRectangleFThe RectangleF structure to exclude from this Region.

See Also


Region.Exclude method (2 of 4)

Updates this Region to contain only the portion of its interior that does not intersect with the specified Rectangle structure.

public void Exclude(Rectangle rect)
ParameterTypeDescription
rectRectangleThe Rectangle structure to exclude from this Region.

See Also


Region.Exclude method (3 of 4)

Updates this Region to contain only the portion of its interior that does not intersect with the specified GraphicsPath.

public void Exclude(GraphicsPath path)
ParameterTypeDescription
pathGraphicsPathThe GraphicsPath to exclude from this Region.

Exceptions

exceptioncondition
ArgumentNullExceptionpath is null.

See Also


Region.Exclude method (4 of 4)

Updates this Region to contain only the portion of its interior that does not intersect with the specified Region.

public void Exclude(Region region)
ParameterTypeDescription
regionRegionThe Region to exclude from this Region.

Exceptions

exceptioncondition
ArgumentNullExceptionregion is null.

See Also