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
absoluteShapeBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleDThe absolute bounds for the shape, relative to the top-left point on the diagram.
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
- 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.