Compartilhar via


DiagramClientView.EnsureVisible Method (RectangleD)

Ensures that the specified rectangle is visible in the view. Based on VisiblePreference setting for the Diagram, the RectangleD will be brought into view. ZoomOut may be used to fit the RectangleD iff MinimalScrollWithNoZoom VisiblePreference is not selected for this Diagram. Scrolling may be used to fit the RectangleD and depending on the VisiblePreference setting selected for the diagram, either the center of the Rectangle will be brought into view center or minimal scrolling that is required to bring the Rectangle into view will be done.

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

Syntax

'Declaração
Public Sub EnsureVisible ( _
    visibleRectangle As RectangleD _
)
public void EnsureVisible(
    RectangleD visibleRectangle
)
public:
void EnsureVisible(
    RectangleD visibleRectangle
)
member EnsureVisible : 
        visibleRectangle:RectangleD -> unit 
public function EnsureVisible(
    visibleRectangle : RectangleD
)

Parameters

.NET Framework Security

See Also

Reference

DiagramClientView Class

EnsureVisible Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace