IGeometryHost.ExcludeGeometryFromClipRegion Method
Excludes from the clipping region this geometry, including geometries of descendant IGeometryHost objects.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
Sub ExcludeGeometryFromClipRegion ( _
graphics As Graphics, _
matrix As Matrix, _
perimeter As GraphicsPath _
)
void ExcludeGeometryFromClipRegion(
Graphics graphics,
Matrix matrix,
GraphicsPath perimeter
)
void ExcludeGeometryFromClipRegion(
Graphics^ graphics,
Matrix^ matrix,
GraphicsPath^ perimeter
)
abstract ExcludeGeometryFromClipRegion :
graphics:Graphics *
matrix:Matrix *
perimeter:GraphicsPath -> unit
function ExcludeGeometryFromClipRegion(
graphics : Graphics,
matrix : Matrix,
perimeter : GraphicsPath
)
Parameters
- graphics
Type: System.Drawing.Graphics
Graphics object with valid clipping region.
- matrix
Type: System.Drawing.Drawing2D.Matrix
The matrix used to translate the geometry's graphics path to compensate for the parent-relative location of the geometry's corresponding diagram item.
- perimeter
Type: System.Drawing.Drawing2D.GraphicsPath
The perimeter path of this geometry (For optimization purposes only; it can be null, in which case it will be recalculated.)
.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.