ShapeElement.Invalidate Method (RectangleD)

Invalidates the shape.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'宣言
Public Sub Invalidate ( _
    absoluteShapeBounds As RectangleD _
)
'使用
Dim instance As ShapeElement
Dim absoluteShapeBounds As RectangleD

instance.Invalidate(absoluteShapeBounds)
public void Invalidate(
    RectangleD absoluteShapeBounds
)
public:
void Invalidate(
    RectangleD absoluteShapeBounds
)
public function Invalidate(
    absoluteShapeBounds : RectangleD
)

Parameters

Remarks

The outline and shadow of the shape are also invalidated.

The absolute bounds are used as the bounds for the shape.

This method is helpful if you want to invalidate the shape at a previous location or size.

Permissions

See Also

Reference

ShapeElement Class

ShapeElement Members

Invalidate Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace