ShapeElement.ExcludeFromClipRegion Method
Excludes the shape and its child shapes from the clipping region.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Overridable Sub ExcludeFromClipRegion ( _
graphics As Graphics, _
matrix As Matrix, _
perimeter As GraphicsPath _
)
public virtual void ExcludeFromClipRegion(
Graphics graphics,
Matrix matrix,
GraphicsPath perimeter
)
public:
virtual void ExcludeFromClipRegion(
Graphics^ graphics,
Matrix^ matrix,
GraphicsPath^ perimeter
)
abstract ExcludeFromClipRegion :
graphics:Graphics *
matrix:Matrix *
perimeter:GraphicsPath -> unit
override ExcludeFromClipRegion :
graphics:Graphics *
matrix:Matrix *
perimeter:GraphicsPath -> unit
public function ExcludeFromClipRegion(
graphics : Graphics,
matrix : Matrix,
perimeter : GraphicsPath
)
Parameters
graphics
Type: GraphicsThe graphics object that contains the clipping region.
matrix
Type: MatrixThe matrix that is used to translate the graphic path for the shape so that the matrix can locate the shape in the clipping region.
perimeter
Type: GraphicsPathThe perimeter of the shape, or null to recalculate the perimeter of the shape.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.