[]
Sets the clipping region of this Graphics object to the result of the Replace combining the current clip region and the specified Region object.
public void SetClip(Region region)
Public Sub SetClip(region As Region)
| Type | Name | Description |
|---|---|---|
| Region | region | Region object to combine. |
Only a copy of the setting region is used. The region itself can be seted for any number of other device contexts or it can be deleted.
Sets the clipping region of this Graphics object to the rectangle specified by a Rectangle structure.
public void SetClip(Rectangle rectangle)
Public Sub SetClip(rectangle As Rectangle)
| Type | Name | Description |
|---|---|---|
| Rectangle | rectangle | Rectangle structure that represents the new clip region. |
Only a copy of the setting region is used. The region itself can be seted for any number of other device contexts or it can be deleted.
Sets the clipping region of this Graphics object to the result of the specified operation combining the current clip region and the rectangle specified by a Rectangle structure.
public void SetClip(Rectangle rectangle, CombineMode combineMode)
Public Sub SetClip(rectangle As Rectangle, combineMode As CombineMode)
| Type | Name | Description |
|---|---|---|
| Rectangle | rectangle | Rectangle structure to combine. |
| CombineMode | combineMode | Member of the CombineMode enumeration that specifies the combining operation to use. |
Only a copy of the setting region is used. The region itself can be seted for any number of other device contexts or it can be deleted.
Sets the clipping region of this Graphics object to the result of the specified operation combining the current clip region and the specified Region object.
public void SetClip(Region region, CombineMode combineMode)
Public Sub SetClip(region As Region, combineMode As CombineMode)
| Type | Name | Description |
|---|---|---|
| Region | region | Region object to combine. |
| CombineMode | combineMode | Member of the CombineMode enumeration that specifies the combining operation to use. |
Only a copy of the setting region is used. The region itself can be seted for any number of other device contexts or it can be deleted.