DiagramClientView.InvalidateRectangle Method
Invalidates the specified rectangle in world units.
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 InvalidateRectangle ( _
rectangle As RectangleD _
)
public void InvalidateRectangle(
RectangleD rectangle
)
public:
void InvalidateRectangle(
RectangleD rectangle
)
member InvalidateRectangle :
rectangle:RectangleD -> unit
public function InvalidateRectangle(
rectangle : RectangleD
)
Parameters
rectangle
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleDRectangle to invalidate in world units and relative to the Diagram's top-left.
Remarks
The rectangle is assumed to be a shape's rectangle, so it is inflated by the size of the surrounding selection rectangle.
.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.