ShapeElement.Invalidate Method (RectangleD)
Makes sure that the shape and its old location will be repainted at the end of the transaction.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Sub Invalidate ( _
absoluteShapeBounds As RectangleD _
)
public void Invalidate(
RectangleD absoluteShapeBounds
)
public:
void Invalidate(
RectangleD absoluteShapeBounds
)
member Invalidate :
absoluteShapeBounds:RectangleD -> unit
public function Invalidate(
absoluteShapeBounds : RectangleD
)
Parameters
absoluteShapeBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleDThe previous absolute bounds for the shape, relative to the top-left point on the diagram.
Remarks
If you have changed the position or size of the ShapeElement, you can use this method to makes sure that both the old location will be repainted. However, many operations call Invalidate() automatically.
.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.