共用方式為


Diagram.InvalidateRectangle(RectangleD) Method

Definition

Invalidates the specified rectangle. The rectangle is relative to the the diagram's top-left corner and in internal units. The rectangle will be inflated to invalidate a potential selection surrounding it.

public:
 void InvalidateRectangle(Microsoft::VisualStudio::Modeling::Diagrams::RectangleD rectangle);
public void InvalidateRectangle (Microsoft.VisualStudio.Modeling.Diagrams.RectangleD rectangle);
member this.InvalidateRectangle : Microsoft.VisualStudio.Modeling.Diagrams.RectangleD -> unit
Public Sub InvalidateRectangle (rectangle As RectangleD)

Parameters

rectangle
RectangleD

rectangle is in world units and relative to the diagram's top-left.

Applies to